more customization

This commit is contained in:
Harry 2025-01-31 01:30:54 +01:00
parent 2a1a02645d
commit 777d704487
5 changed files with 39 additions and 20 deletions

View file

@ -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$ '

View file

@ -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

View file

@ -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": {}
}

View file

@ -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;
}