commit ed84d66987c07e0ee3016325ac6c41abb55bea64
author: respet <arianitkukaj@gmail.com>
date: 2025-10-26 09:43
parents: 53f11c76
Minor changes, changed temrinal emulator
| A | ghostty/ghostty/config | +52 | -0 |
| M | hypr/hyprland.conf | +1 | -1 |
| D | kitty/kitty.conf | +0 | -1 |
| M | updatedf | +1 | -1 |
| M | waybar/config | +31 | -187 |
diff --git a/ghostty/ghostty/config b/ghostty/ghostty/config new file mode 100644 index 0000000..30482b5 --- /dev/null +++ b/ghostty/ghostty/config @@ -0,0 +1,52 @@ +# This is the configuration file for Ghostty. +# +# This template file has been automatically created at the following +# path since Ghostty couldn't find any existing config files on your system: +# +# /home/arianit/.config/ghostty/config +# +# The template does not set any default options, since Ghostty ships +# with sensible defaults for all options. Users should only need to set +# options that they want to change from the default. +# +# Run `ghostty +show-config --default --docs` to view a list of +# all available config options and their default values. +# +# Additionally, each config option is also explained in detail +# on Ghostty's website, at https://ghostty.org/docs/config. +# +# Ghostty can reload the configuration while running by using the menu +# options or the bound key (default: Command + Shift + comma on macOS and +# Control + Shift + comma on other platforms). Not all config options can be +# reloaded while running; some only apply to new windows and others may require +# a full restart to take effect. + +# Config syntax crash course +# ========================== +# # The config file consists of simple key-value pairs, +# # separated by equals signs. +# font-family = Iosevka +# window-padding-x = 2 +# +# # Spacing around the equals sign does not matter. +# # All of these are identical: +# key=value +# key= value +# key =value +# key = value +# +# # Any line beginning with a # is a comment. It's not possible to put +# # a comment after a config option, since it would be interpreted as a +# # part of the value. For example, this will have a value of "#123abc": +# background = #123abc +# +# # Empty values are used to reset config keys to default. +# key = +# +# # Some config options have unique syntaxes for their value, +# # which is explained in the docs for that config option. +# # Just for example: +# resize-overlay-duration = 4s 200ms +background-opacity=0.7 +window-width=137 +window-height=30 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 52ad497..b31a6e3 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -46,7 +46,7 @@ monitor=eDP-1,1920x1080@60,0x0,1 # See https://wiki.hypr.land/Configuring/Keywords/ # Set programs that you use -$terminal = kitty +$terminal = ghostty $fileManager = dolphin $menu = wofi --show drun diff --git a/kitty/kitty.conf b/kitty/kitty.conf deleted file mode 100644 index fb33c01..0000000 --- a/kitty/kitty.conf +++ /dev/null @@ -1 +0,0 @@ -background_opacity 0.4 diff --git a/updatedf b/updatedf index 96ef318..86c6857 100755 --- a/updatedf +++ b/updatedf @@ -17,7 +17,7 @@ show_progress() { commands=( "cp -r /home/arianit/.config/waybar/config /home/arianit/dotfiles/waybar/" "cp /home/arianit/.config/hypr/hyprland.conf /home/arianit/dotfiles/hypr/" - "cp /home/arianit/.config/kitty/kitty.conf /home/arianit/dotfiles/kitty/" + "cp -r /home/arianit/.config/ghostty /home/arianit/dotfiles/ghostty/" "cp /home/arianit/.config/fastfetch/config.jsonc /home/arianit/dotfiles/fastfetch/" ) diff --git a/waybar/config b/waybar/config index 17cf7bf..b3df0d0 100644 --- a/waybar/config +++ b/waybar/config @@ -1,190 +1,45 @@ -// -*- mode: jsonc -*- { - // "layer": "top", // Waybar at top layer - // "position": "bottom", // Waybar position (top|bottom|left|right) - "height": 30, // Waybar height (to be removed for auto height) - // "width": 1280, // Waybar width - "spacing": 4, // Gaps between modules (4px) - // Choose the order of the modules - "modules-left": [ - "hyprland/workspaces", - "hyprland/mode", - "hyprland/scratchpad", - "custom/media" - ], - "modules-center": [ - "hyprland/window" - ], - "modules-right": [ - "mpd", - "idle_inhibitor", - "pulseaudio", - "network", - "power-profiles-daemon", - "cpu", - "memory", - "temperature", - "backlight", - "keyboard-state", - "hyprland/language", - "battery", - "battery#bat2", - "clock", - "tray", - "custom/power" - ], - // Modules configuration - "hyprland/workspaces": { - "disable-scroll": true, - "all-outputs": true, - "warp-on-scroll": false, - "format": "{name}: {icon}", - "format-icons": { - "1": "", - "2": "", - "3": "", - "4": "", - "5": "", - "urgent": "", - "focused": "", - "default": "" - } - }, - "keyboard-state": { - "numlock": true, - "capslock": true, - "format": "{name} {icon}", - "format-icons": { - "locked": "", - "unlocked": "" - } - }, + "modules-left": ["hyprland/workspaces", "hyprland/mode"], + "modules-center": ["clock", "idle_inhibitor"], + "modules-right": ["tray", "custom/scratchpad-indicator", "pulseaudio", "custom/power"], + "hyprland/mode": { "format": "<span style=\"italic\">{}</span>" }, - "hyprland/scratchpad": { - "format": "{icon} {count}", - "show-empty": false, - "format-icons": ["", ""], - "tooltip": true, - "tooltip-format": "{app}: {title}" - }, - "mpd": { - "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", - "format-disconnected": "Disconnected ", - "format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ", - "unknown-tag": "N/A", - "interval": 5, - "consume-icons": { - "on": " " - }, - "random-icons": { - "off": "<span color=\"#f53c3c\"></span> ", - "on": " " - }, - "repeat-icons": { - "on": " " - }, - "single-icons": { - "on": "1 " - }, - "state-icons": { - "paused": "", - "playing": "" - }, - "tooltip-format": "MPD (connected)", - "tooltip-format-disconnected": "MPD (disconnected)" + "network": { + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ifname} ", + "format-disconnected": "", + "max-length": 50, + "on-click": "kitty -e 'nmtui'" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" - } + }, }, "tray": { - // "icon-size": 21, - "spacing": 10, - // "icons": { - // "blueman": "bluetooth", - // "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png" - // } + "icon-size": 15, + "spacing": 10 }, "clock": { - // "timezone": "America/New_York", - "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", - "format-alt": "{:%Y-%m-%d}" - }, - "cpu": { - "format": "{usage}% ", - "tooltip": false - }, - "memory": { - "format": "{}% " - }, - "temperature": { - // "thermal-zone": 2, - // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", - "critical-threshold": 80, - // "format-critical": "{temperatureC}°C {icon}", - "format": "{temperatureC}°C {icon}", - "format-icons": ["", "", ""] - }, - "backlight": { - // "device": "acpi_video1", - "format": "{percent}% {icon}", - "format-icons": ["", "", "", "", "", "", "", "", ""] - }, - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{capacity}% {icon}", - "format-full": "{capacity}% {icon}", - "format-charging": "{capacity}% ", - "format-plugged": "{capacity}% ", - "format-alt": "{time} {icon}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - "format-icons": ["", "", "", "", ""] - }, - "battery#bat2": { - "bat": "BAT2" - }, - "power-profiles-daemon": { - "format": "{icon}", - "tooltip-format": "Power profile: {profile}\nDriver: {driver}", - "tooltip": true, - "format-icons": { - "default": "", - "performance": "", - "balanced": "", - "power-saver": "" - } - }, - "network": { - // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) ", - "format-ethernet": "{ipaddr}/{cidr} ", - "tooltip-format": "{ifname} via {gwaddr} ", - "format-linked": "{ifname} (No IP) ", - "format-disconnected": "Disconnected ⚠", - "format-alt": "{ifname}: {ipaddr}/{cidr}" + // "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", + // "format-alt": "{:%Y-%m-%d}" + "on-click": "gnome-calendar" }, "pulseaudio": { - // "scroll-step": 1, // %, can be a float - "format": "{volume}% {icon} {format_source}", + "format": "{volume}% {icon} ", "format-bluetooth": "{volume}% {icon} {format_source}", "format-bluetooth-muted": " {icon} {format_source}", - "format-muted": " {format_source}", + "format-muted": "0% {icon} ", "format-source": "{volume}% ", "format-source-muted": "", "format-icons": { "headphone": "", - "hands-free": "", - "headset": "", + "hands-free": "", + "headset": "", "phone": "", "portable": "", "car": "", @@ -192,28 +47,17 @@ }, "on-click": "pavucontrol" }, - "custom/media": { - "format": "{icon} {text}", + "custom/power": { + "format": " ", + "on-click": "wlogout" + }, + "custom/scratchpad-indicator": { + "format-text": "{}hi", "return-type": "json", - "max-length": 40, - "format-icons": { - "spotify": "", - "default": "🎜" - }, - "escape": true, - "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder - // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name - }, - "custom/power": { - "format" : "⏻ ", - "tooltip": false, - "menu": "on-click", - "menu-file": "$HOME/.config/waybar/power_menu.xml", // Menu file in resources folder - "menu-actions": { - "shutdown": "shutdown", - "reboot": "reboot", - "suspend": "systemctl suspend", - "hibernate": "systemctl hibernate" - } + "interval": 3, + "exec": "~/.local/bin/scratchpad-indicator 2> /dev/null", + "exec-if": "exit 0", + "on-click": "hyprlandmsg 'scratchpad show'", + "on-click-right": "hyprlandmsg 'move scratchpad'" } }