mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-31 11:29:33 +01:00
more customization
This commit is contained in:
parent
2a1a02645d
commit
777d704487
|
@ -1,8 +1,11 @@
|
||||||
alias gocode="cd ~/Documents/Code/"
|
kittysay "meow, what r we doin 2day :3"
|
||||||
|
|
||||||
kittysay meow
|
|
||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
|
|
||||||
# nnn configuration
|
# nnn configuration
|
||||||
NNN_PLUG='L:nmount'
|
NNN_PLUG='L:nmount'
|
||||||
|
|
||||||
|
BLUE="\x01[$(tput setaf 12)\x02]"
|
||||||
|
RESET="\x01[$(tput setaf 15)\x02]"
|
||||||
|
|
||||||
|
# PS1='\n${BLUE} ${RESET}:\h \n\u@\h$ '
|
|
@ -29,7 +29,7 @@ set $screenshot_folder ~/Images/Captures\ d\'écrans/
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
# 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:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
@ -41,11 +41,10 @@ output * bg wallpapers/wipeout_1.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
# exec swayidle -w \
|
exec swayidle -w \
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
#
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
before-sleep 'swaylock -f -c 000000'
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# 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
|
# 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/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
# enable numlock on start
|
# enable numlock on start
|
||||||
input type:keyboard xkb_capslock enabled
|
|
||||||
input type:keyboard xkb_numlock enabled
|
input type:keyboard xkb_numlock enabled
|
||||||
|
|
||||||
# floating bitwarden
|
# floating bitwarden
|
||||||
|
|
0
home-manager/dotfiles/sway/scripts/wallpapers.sh
Normal file
0
home-manager/dotfiles/sway/scripts/wallpapers.sh
Normal file
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["custom/launcher", "sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"],
|
"modules-right": ["tray", "bluetooth", "network", "clock", "privacy"],
|
||||||
"clock": {
|
"clock": {
|
||||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||||
},
|
},
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "wlp3s0",
|
"interface": "wlp3s0",
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
"format-wifi": " ",
|
"format-wifi": "",
|
||||||
"format-ethernet": "",
|
"format-ethernet": "",
|
||||||
"format-disconnected": "", //An empty format will hide the module.
|
"format-disconnected": "", //An empty format will hide the module.
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"format-disabled": "",
|
"format-disabled": "",
|
||||||
"format-connected": ""
|
"format-connected": ""
|
||||||
},
|
},
|
||||||
|
@ -74,5 +74,7 @@
|
||||||
"on-click": "swaync-client -t -sw",
|
"on-click": "swaync-client -t -sw",
|
||||||
"on-click-right": "swaync-client -d -sw",
|
"on-click-right": "swaync-client -d -sw",
|
||||||
"escape": true
|
"escape": true
|
||||||
}
|
},
|
||||||
|
"custom/launcher": {},
|
||||||
|
"custom/controlpanel": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,25 @@
|
||||||
@define-color primary rgba(123, 0, 44, 1);
|
@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-weight: bold;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
margin: 12px 24px;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: solid 2px @primary;
|
/*border: solid 2px @primary;*/
|
||||||
min-height: 14px; /* set waybar's height to 14px */
|
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 */
|
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,
|
#clock,
|
||||||
|
@ -24,9 +30,19 @@ window#waybar {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
|
background-color: #000;
|
||||||
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
padding: 4px 0;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue