From 777d70448770670b764dd083a73ae024b1f668f6 Mon Sep 17 00:00:00 2001 From: harry123 Date: Fri, 31 Jan 2025 01:30:54 +0100 Subject: [PATCH] more customization --- home-manager/dotfiles/bash/.bashrc | 9 ++++--- home-manager/dotfiles/sway/config | 12 ++++----- .../dotfiles/sway/scripts/wallpapers.sh | 0 home-manager/dotfiles/waybar/config.jsonc | 12 +++++---- home-manager/dotfiles/waybar/style.css | 26 +++++++++++++++---- 5 files changed, 39 insertions(+), 20 deletions(-) create mode 100644 home-manager/dotfiles/sway/scripts/wallpapers.sh diff --git a/home-manager/dotfiles/bash/.bashrc b/home-manager/dotfiles/bash/.bashrc index 6f2d213..9b358ec 100644 --- a/home-manager/dotfiles/bash/.bashrc +++ b/home-manager/dotfiles/bash/.bashrc @@ -1,8 +1,11 @@ -alias gocode="cd ~/Documents/Code/" - -kittysay meow +kittysay "meow, what r we doin 2day :3" eval "$(zoxide init bash)" eval "$(direnv hook bash)" # nnn configuration NNN_PLUG='L:nmount' + +BLUE="\x01[$(tput setaf 12)\x02]" +RESET="\x01[$(tput setaf 15)\x02]" + +# PS1='\n${BLUE}󱄅 ${RESET}:\h \n\u@\h$ ' \ No newline at end of file diff --git a/home-manager/dotfiles/sway/config b/home-manager/dotfiles/sway/config index 3479b5a..addaf5a 100755 --- a/home-manager/dotfiles/sway/config +++ b/home-manager/dotfiles/sway/config @@ -29,7 +29,7 @@ set $screenshot_folder ~/Images/Captures\ d\'écrans/ ### Output configuration # # Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/) -output * bg wallpapers/wipeout_1.jpg fill +output * bg wallpapers/lain_1.jpg fill # # Example configuration: # @@ -41,11 +41,10 @@ output * bg wallpapers/wipeout_1.jpg fill # # Example configuration: # -# exec swayidle -w \ -# timeout 300 'swaylock -f -c 000000' \ -# -# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ -# before-sleep 'swaylock -f -c 000000' +exec swayidle -w \ + timeout 300 'swaylock -f -c 000000' \ + timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \ + before-sleep 'swaylock -f -c 000000' # # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when @@ -229,7 +228,6 @@ seat seat0 xcursor_theme "miku-cursor-linux" 36 include /etc/sway/config.d/* # enable numlock on start -input type:keyboard xkb_capslock enabled input type:keyboard xkb_numlock enabled # floating bitwarden diff --git a/home-manager/dotfiles/sway/scripts/wallpapers.sh b/home-manager/dotfiles/sway/scripts/wallpapers.sh new file mode 100644 index 0000000..e69de29 diff --git a/home-manager/dotfiles/waybar/config.jsonc b/home-manager/dotfiles/waybar/config.jsonc index 40d2e80..9832293 100644 --- a/home-manager/dotfiles/waybar/config.jsonc +++ b/home-manager/dotfiles/waybar/config.jsonc @@ -1,8 +1,8 @@ { "layer": "top", - "modules-left": ["sway/workspaces", "sway/mode"], + "modules-left": ["custom/launcher", "sway/workspaces", "sway/mode"], "modules-center": [], - "modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"], + "modules-right": ["tray", "bluetooth", "network", "clock", "privacy"], "clock": { "format-alt": "{:%a, %d. %b %H:%M}" }, @@ -40,7 +40,7 @@ "network": { "interface": "wlp3s0", "format": "{ifname}", - "format-wifi": " ", + "format-wifi": "", "format-ethernet": "󰈀", "format-disconnected": "", //An empty format will hide the module. "tooltip-format": "{ifname} via {gwaddr} 󰈀", @@ -50,7 +50,7 @@ "max-length": 50 }, "bluetooth": { - "format": "", + "format": "", "format-disabled": "", "format-connected": "" }, @@ -74,5 +74,7 @@ "on-click": "swaync-client -t -sw", "on-click-right": "swaync-client -d -sw", "escape": true - } + }, + "custom/launcher": {}, + "custom/controlpanel": {} } diff --git a/home-manager/dotfiles/waybar/style.css b/home-manager/dotfiles/waybar/style.css index e39b21d..f01c713 100644 --- a/home-manager/dotfiles/waybar/style.css +++ b/home-manager/dotfiles/waybar/style.css @@ -1,19 +1,25 @@ @define-color primary rgba(123, 0, 44, 1); * { - font-family: "CodeNewRoman Nerd Font"; + padding: 0; + border-radius: 0; + min-height: 0; + margin: 0; + border: none; + text-shadow: none; + transition: none; + box-shadow: none; + font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif; font-weight: bold; font-size: 12px; color: #000; } window#waybar { - margin: 12px 24px; background-color: #fff; - border: solid 2px @primary; + /*border: solid 2px @primary;*/ min-height: 14px; /* set waybar's height to 14px */ font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */ - border-radius: 12px; } #clock, @@ -24,9 +30,19 @@ window#waybar { padding: 0 12px; } +#workspaces button { + border-radius: 0; +} + +#workspaces button:hover { + box-shadow: inherit; + text-shadow: inherit; +} + #workspaces button.focused { + background-color: #000; + color: #fff !important; } #workspaces { - padding: 4px 0; }