From aa5dd02c143eca32c655bdf30107154bdb76e531 Mon Sep 17 00:00:00 2001 From: Daniel Heras Quesada Date: Sun, 27 Jul 2025 16:37:53 +0200 Subject: [PATCH] general improvements --- .gitignore | 1 + README.md | 4 +- bspwm/bspwmrc | 2 +- dotdot/.xprofile | 10 +- i3/config | 186 +++++++++++++++++++++++++++++++++++ mpd/log | 48 +++++++++ mpd/pid | 2 +- mpd/state | 68 +++++++++---- polybar/floating/modules.ini | 6 +- starship.toml | 10 +- sxhkd/sxhkdrc | 158 +++++++++++++---------------- wired/wired.ron | 16 +-- 12 files changed, 381 insertions(+), 130 deletions(-) create mode 100644 i3/config diff --git a/.gitignore b/.gitignore index 16a06c8..463b66e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !betterlockscreen/ !bspwm/ !dotdot/ +!i3/ !mpd/ !ncmpcpp/ !nnn/ diff --git a/README.md b/README.md index b79c0df..a632b87 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ - [ ] Application search - Status bar - [x] basics - - [ ] Adjust icon inconsistencies + - [x] Adjust icon inconsistencies - [ ] Applet handlers - Terminal - [ ] Color scheme @@ -43,7 +43,7 @@ - [ ] Scroll - Power - [x] Screen lock - - [ ] Lock and suspend on lid close + - [x] Lock and suspend on lid close - [x] TLP - [x] Dim or off screen after X - [x] Lock after Y diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc index 4eedd6d..93370a7 100755 --- a/bspwm/bspwmrc +++ b/bspwm/bspwmrc @@ -46,5 +46,5 @@ setxkbmap -layout us -variant intl -option caps:escape ### Wallpaper feh --bg-fill ~/.config/wp -### Toolbar +# Status bar bash ~/.config/polybar/launch.sh & diff --git a/dotdot/.xprofile b/dotdot/.xprofile index f747643..c34d8e0 100755 --- a/dotdot/.xprofile +++ b/dotdot/.xprofile @@ -1,5 +1,7 @@ -# Keys -pgrep -x sxhkd > /dev/null || sxhkd & +Keys pgrep -x sxhkd > /dev/null || sxhkd & + +# Disks +#udiskie -A & # Compositor picom --config ~/.config/picom.conf & @@ -15,7 +17,9 @@ libinput-gestures-setup start & # Screen lock xset dpms 0 0 380 -xss-lock -l -- ~/.config/utils/lock & +# xss-lock -l -- ~/.config/utils/lock & +# xset 420 180 +xss-lock --transfer-sleep-lock -- i3lock-fancy --nofork & # Cloud nextcloud --background & diff --git a/i3/config b/i3/config new file mode 100644 index 0000000..670ba5e --- /dev/null +++ b/i3/config @@ -0,0 +1,186 @@ +# i3 config file (29/08/24) + +hide_edge_borders both +default_border pixel 0 +default_floating_border normal +smart_gaps inverse_outer + +for_window [class="^.*"] border pixel 0 +gaps inner 28 +gaps outer 0 + +popup_during_fullscreen smart +focus_on_window_activation smart + +for_window [title="Pomodoro Timer"] floating enable +for_window [title="Calendar02042023"] floating enable +for_window [title="Music "] floating enable +for_window [instance=rofi] sticky enable +for_window [instance=eww] border pixel 0 +#for_window [class="matplotlib"] floating enable +#for_window [class="eww"] floating enable + +set $mod Mod4 +set $terminal st + +font pango:Terminus 10 + +### Keyboard +exec_always --no-startup-id setxkbmap -layout us -variant intl -option caps:escape + +### Wallpaper +exec_always --no-startup-id feh --bg-fill ~/.config/wp + +# Status bar +exec_always --no-startup-id bash ~/.config/polybar/launch.sh & + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier Ctrl + +# Bordes +bindsym $mod+t border normal 3 +bindsym $mod+Shift+t border pixel 2 + +# kill focused window +bindsym $mod+q kill +bindsym $mod+Shift+q exec ~/Scripts/System/confirmKilli3.sh kill +bindsym --border button2 kill + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# alternatively, you can use the cursor keys: +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# alternatively, you can use the cursor keys: +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# split in horizontal orientation +bindsym $mod+Shift+u split h + +# split in vertical orientation +bindsym $mod+u split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+d layout tabbed +bindsym $mod+a layout toggle split + +# toggle tiling / floating +bindsym $mod+g floating toggle + +bindsym $mod+v sticky toggle + +# focus the parent container +bindsym $mod+p focus parent + +# focus the child container +bindsym $mod+i focus child + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" +set $ws11 "11" +set $ws12 "12" + +# switch to workspace +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 +bindsym $mod+z workspace number $ws11 +bindsym $mod+x workspace number $ws12 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 +bindsym $mod+Shift+z move container to workspace number $ws11 +bindsym $mod+Shift+x move container to workspace number $ws12 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart +# exit i3 (logs you out of your X session) +#bindsym $mod+Shift+F12 exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" + +#Colores +set $black #000000 +set $grey #252525 +set $fg-alt #888888 +set $red #c1121f +set $dark-blue #dcb476 + + #borde #fondo #texto #indicador #hijo +client.focused $grey $grey #ffffff $black $grey +client.focused_inactive $grey $grey $fg-alt $black $black +client.unfocused $black $black $fg-alt $grey $black +client.urgent #333333 #900000 $red #900000 #900000 +client.placeholder $black $black $red $red #0c0c0c + +client.background #ffffff + +#Redimensionar ventanas +bindsym $mod+Ctrl+h resize shrink width 35px or 5 ppt +bindsym $mod+Ctrl+j resize shrink height 35px or 5 ppt +bindsym $mod+Ctrl+l resize grow width 35px or 5 ppt +bindsym $mod+Ctrl+k resize grow height 35px or 5 ppt + +#Redimensionar gaps +bindsym $mod+y gaps inner current minus 10 +bindsym $mod+Shift+y gaps inner current plus 10 + +#Asignaciones +workspace 1 output eDP +workspace 2 output eDP +workspace 3 output eDP +workspace 4 output eDP +workspace 5 output eDP +workspace 6 output HDMI-A-0 DisplayPort-0 +workspace 7 output HDMI-A-0 DisplayPort-0 +workspace 8 output HDMI-A-0 DisplayPort-0 +workspace 9 output HDMI-A-0 DisplayPort-0 +workspace 10 output HDMI-A-0 DisplayPort-0 +workspace 11 output eDP +workspace 12 output HDMI-A-0 DisplayPort-0 diff --git a/mpd/log b/mpd/log index d5392bb..0223830 100755 --- a/mpd/log +++ b/mpd/log @@ -182023,3 +182023,51 @@ Note: Hit end of (available) data during resync. [src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? 2025-05-29T12:02:50 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" [src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T18:58:21 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T19:01:36 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T19:02:29 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T19:03:31 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T19:06:57 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-29T19:09:44 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-30T00:16:00 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-30T08:42:48 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-30T15:32:56 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-05-31T00:05:16 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-06-01T09:44:01 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-06-02T23:32:30 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-06-10T17:35:41 player: played "Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3" +2025-06-10T17:42:06 player: played "Dimmu Borgir/Dimmu Borgir - Puntanical Euphoric Misanthropia - 2001/09 - Absolute Sole Right.mp3" +2025-06-10T20:38:46 player: played "Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/03 - Ad Omnipotens Aeterne Diabolus.mp3" +2025-06-11T00:21:20 player: played "Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/03 - Ad Omnipotens Aeterne Diabolus.mp3" +2025-07-21T15:33:55 player: played "Mayhem/Freezing Moon.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-07-21T15:38:42 player: played "My Chemical Romance/[2006] - The Black Parade/09 - Mama.mp3" +[src/libmpg123/id3.c:process_comment():587] error: No comment text / valid description? +2025-07-21T15:41:30 player: played "Sub Urban/Sub Urban PARAMOUR feat AURORA.mp3" +2025-07-21T15:44:12 player: played "My Chemical Romance/[2006] - The Black Parade/11 - Teenagers.mp3" +2025-07-21T15:47:09 player: played "Sub Urban/Sub Urban - Cliché.mp3" +2025-07-22T23:44:32 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T08:40:55 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T10:33:51 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T11:50:10 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T12:57:44 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T23:22:59 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-23T23:28:27 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-24T00:13:33 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-25T00:22:45 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-25T12:13:53 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-26T09:41:13 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" +2025-07-27T00:23:05 player: played "Kittie/1999-Kittie - Spit/12 Immortal.mp3" diff --git a/mpd/pid b/mpd/pid index df9d396..a09b5d1 100644 --- a/mpd/pid +++ b/mpd/pid @@ -1 +1 @@ -1544 +1319 diff --git a/mpd/state b/mpd/state index 57b6534..5b211e3 100644 --- a/mpd/state +++ b/mpd/state @@ -2,8 +2,8 @@ sw_volume: 34 audio_device_state:1:Local Pulse Audio audio_device_state:1:toggle_visualizer state: pause -current: 5 -time: 173.278 +current: 28 +time: 39.76 random: 1 repeat: 0 single: 0 @@ -11,21 +11,53 @@ consume: 0 crossfade: 0 mixrampdb: 0 mixrampdelay: -1 -lastloadedplaylist: A Breeze In The Northern Sky +lastloadedplaylist: hood up playlist_begin -0:Bathory/Bathory The lake.mp3 -1:Mayhem/Freezing Moon.mp3 -2:Amon Amarth/2016 - Jomsviking/01. First Kill.mp3 -3:Amon Amarth/2016 - Jomsviking/04. One Against All.mp3 -4:Amon Amarth/2008 - Twilight Of The Thunder God/01. Twilight Of The Thunder God.mp3 -5:Amon Amarth/2008 - Twilight Of The Thunder God/02. Free Will Sacrifice.mp3 -6:Amon Amarth/2008 - Twilight Of The Thunder God/03. Guardians Of Asgaard.mp3 -7:DevilDriver/DevilDriver - Devildriver - 2003/06 - The Mountain.mp3 -8:Dimmu Borgir/Dimmu Borgir - Puntanical Euphoric Misanthropia - 2001/06 - Puritania.mp3 -9:Dimmu Borgir/Dimmu Borgir - Puntanical Euphoric Misanthropia - 2001/09 - Absolute Sole Right.mp3 -10:Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/02 - Dionysian Rite.mp3 -11:Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/01 - Radix Malorum.mp3 -12:Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/03 - Ad Omnipotens Aeterne Diabolus.mp3 -13:Gorgoroth/Gorgoroth - Instinctus Bestalis altinhometal - 2015/05 - Burn In His Light.mp3 -14:Darkthrone/Quintessence.mp3 +0:Arctic Monkeys/Knee Socks.mp3 +1:Au Ra/AuRa - Assassin Official Video.mp3 +2:Black Sabbath/1970 - Paranoid/02 - Paranoid.mp3 +3:Call Me Karizma/Call Me Karizma Recycled Youth.mp3 +4:Call Me Karizma/Call Me Karizma - Imaginary Illness.mp3 +5:Call Me Karizma/Call Me Karizma - Monster (Under My Bed).mp3 +6:Call Me Karizma/Call Me Karizma - Serotonin.mp3 +7:Deftones/Around The Fur/02 Lhabia.mp3 +8:Disturbed/Disturbed The Sound Of Silence.mp3 +9:Echobrain/Echobrain - Spoonfed.mp3 +10:Ellise/Ellise- 911.mp3 +11:Faith No More/1989 - The Real Thing- Faith no more/04-Surprise! You're Dead!(1).mp3 +12:Foo Fighters/Foo Fighters - Everlong.mp3 +13:Green Day/Green Day - 21 Guns.mp3 +14:Green Day/Green Day Boulevard Of Broken Dreams.mp3 +15:The Hives/The Hives - Hate to Say I Told You So.mp3 +16:I dont Know How But They Found Me/I DONT KNOW HOW BUT THEY FOUND ME - Choke.mp3 +17:Incubus/Incubus - Drive.mp3 +18:Incubus/Incubus - Anna Molly.mp3 +19:Jelani Aryeh/Stella Brown.mp3 +20:Jessica Ricca/Hey its Delilah Girls Version of Hey There Delilah - Jessica Ricca.mp3 +21:Jet/Jet - Are You Gonna Be My Girl.mp3 +22:Kittie/1999-Kittie - Spit/04 Do You Think I'm A Whore.mp3 +23:Kittie/1999-Kittie - Spit/06 Jonny.mp3 +24:Kittie/1999-Kittie - Spit/07 Trippin'.mp3 +25:Kittie/1999-Kittie - Spit/08 Raven.mp3 +26:Kittie/1999-Kittie - Spit/10 Choke.mp3 +27:Kittie/1999-Kittie - Spit/11 Paperdoll.mp3 +28:Kittie/1999-Kittie - Spit/12 Immortal.mp3 +29:Machine Head/2011 - Unto The Locust/05 - Darkness Within.mp3 +30:My Chemical Romance/[2006] - The Black Parade/11 - Teenagers.mp3 +31:My Chemical Romance/[2006] - The Black Parade/09 - Mama.mp3 +32:My Chemical Romance/[2006] - The Black Parade/05 - Welcome to the Black Parade.mp3 +33:NF/NF The Search.mp3 +34:The Offspring/The Offspring Youre Gonna Go Far Kid.mp3 +35:The Offspring/The Offspring - The Kids Aren't Alright.mp3 +36:The Offspring/The Offspring - Gone Away.mp3 +37:Slaves/Slaves - One More Day Won’t Hurt.mp3 +38:Sub Urban/Sub Urban PARAMOUR feat AURORA.mp3 +39:Sub Urban/Sub Urban - Cliché.mp3 +40:Tool/Tool Sober Live Pro Shot Remastered.mp3 +41:Tool/Tool - Fear Inoculum - 2019/TOOL - Pneuma (Audio) (192 kbps).mp3 +42:Two Feet/Two Feet - Go Fck Yourself.mp3 +43:Twenty One Pilots/twenty one pilots - Ride.mp3 +44:Twenty One Pilots/twenty one pilots - Stressed Out.mp3 +45:Volbeat/Volbeat - Still Counting.mp3 +46:Yungblud/YUNGBLUD - Parents.mp3 playlist_end diff --git a/polybar/floating/modules.ini b/polybar/floating/modules.ini index 96db856..0c37fcf 100644 --- a/polybar/floating/modules.ini +++ b/polybar/floating/modules.ini @@ -1018,7 +1018,7 @@ enable-scroll = true ; icon-[0-infinite]+ = ; ; $ xprop -root _NET_DESKTOP_NAMES -icon-0 = 1; +icon-0 = 1; icon-1 = 2;󰧮 icon-2 = 3; icon-3 = 4; @@ -1026,8 +1026,10 @@ icon-4 = 5; icon-5 = 6; icon-6 = 7; icon-7 = 8; -icon-8 = 9; +icon-8 = 9;󰘧 icon-9 = 10;󰎍 +icon-10 = 11; +icon-11 = 12; icon-default = W icon-9-font = 7 diff --git a/starship.toml b/starship.toml index f31ead6..1d5e2a8 100644 --- a/starship.toml +++ b/starship.toml @@ -83,11 +83,11 @@ truncation_length = 3 truncation_symbol = "…/" [directory.substitutions] -"Documents" = "󰈙 " -"Downloads" = " " -"Music" = "󰝚 " -"Pictures" = " " -"Developer" = "󰲋 " +# "Documents" = "󰈙 " +# "Downloads" = " " +# "Music" = "󰝚 " +# "Pictures" = " " +# "Developer" = "󰲋 " [git_branch] symbol = "" diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index df7b8fe..f5dcc9f 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -22,100 +22,78 @@ super + Escape # # bspwm hotkeys # - -# quit/restart bspwm -super + alt + {q,r} - bspc {quit,wm -r} - -# close and kill -super + {_,shift + }q - bspc node -{c,k} - -# alternate between the tiled and monocle layout -super + m - bspc desktop -l next - -# -# state/flags -# - -# set the window state -super + {t,shift + t,s,f} - bspc node -t {tiled,pseudo_tiled,floating,fullscreen} - -# set the node flags -super + ctrl + {m,x,y,z} - bspc node -g {marked,locked,sticky,private} - -# -# focus/swap -# - -# focus the node in the given direction -super + {_,shift + }{h,j,k,l} - bspc node -{f,s} {west,south,north,east} - -# focus the node for the given path jump -super + {p,comma,period} - bspc node -f @{parent,first,second} - -# focus the next/previous window in the current desktop -# super + {_,shift + }c -# bspc node -f {next,prev}.local.!hidden.window - -# focus the next/previous desktop in the current monitor -super + bracket{left,right} - bspc desktop -f {prev,next}.local - -# focus the last node/desktop -super + {grave,Tab} - bspc {node,desktop} -f last - -# focus the older or newer node in the focus history -super + {o,i} - bspc wm -h off; \ - bspc node {older,newer} -f; \ - bspc wm -h on - -# focus or send to the given desktop -super + {_,shift + }{1-9,0} - bspc {desktop -f,node -d} '^{1-9,10}' - -# -# preselect -# - -# preselect the direction -super + ctrl + {h,j,k,l} - bspc node -p {west,south,north,east} - -# preselect the ratio -super + ctrl + {1-9} - bspc node -o 0.{1-9} - -# cancel the preselection for the focused node -super + ctrl + space - bspc node -p cancel - -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# -# move/resize -# - -# expand a window by moving one of its side outward -super + alt + {h,j,k,l} - bspc node -z {right -20 0,top 0 20,top 0 -20,right 20 0} - -# scratchpads -super + shift + {e,Return,w,c} - ~/.config/utils/scratch {files-scratch,terminal-scratch,bpytop-scratch, bc-scratch} +# # quit/restart bspwm +# super + alt + {q,r} +# bspc {quit,wm -r} +# # close and kill +# super + {_,shift + }q +# bspc node -{c,k} +# # alternate between the tiled and monocle layout +# super + m +# bspc desktop -l next +# # +# # state/flags +# # +# # set the window state +# super + {t,shift + t,s,f} +# bspc node -t {tiled,pseudo_tiled,floating,fullscreen} +# # set the node flags +# super + ctrl + {m,x,y,z} +# bspc node -g {marked,locked,sticky,private} +# # +# # focus/swap +# # +# # focus the node in the given direction +# super + {_,shift + }{h,j,k,l} +# bspc node -{f,s} {west,south,north,east} +# # focus the node for the given path jump +# super + {p,comma,period} +# bspc node -f @{parent,first,second} +# # focus the next/previous window in the current desktop +# # super + {_,shift + }c +# # bspc node -f {next,prev}.local.!hidden.window +# # focus the next/previous desktop in the current monitor +# super + bracket{left,right} +# bspc desktop -f {prev,next}.local +# # focus the last node/desktop +# super + {grave,Tab} +# bspc {node,desktop} -f last +# # focus the older or newer node in the focus history +# super + {o,i} +# bspc wm -h off; \ +# bspc node {older,newer} -f; \ +# bspc wm -h on +# # focus or send to the given desktop +# super + {_,shift + }{1-9,0} +# bspc {desktop -f,node -d} '^{1-9,10}' +# # +# # preselect +# # +# # preselect the direction +# super + ctrl + {h,j,k,l} +# bspc node -p {west,south,north,east} +# # preselect the ratio +# super + ctrl + {1-9} +# bspc node -o 0.{1-9} +# # cancel the preselection for the focused node +# super + ctrl + space +# bspc node -p cancel +# # cancel the preselection for the focused desktop +# super + ctrl + shift + space +# bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel +# # +# # move/resize +# # +# # expand a window by moving one of its side outward +# super + alt + {h,j,k,l} +# bspc node -z {right -20 0,top 0 20,top 0 -20,right 20 0} # # wm independent hotkeys # +# scratchpads +super + shift + {e,Return,w,c} + ~/.config/utils/scratch {files-scratch,terminal-scratch,bpytop-scratch, bc-scratch} #Audio XF86AudioPlay diff --git a/wired/wired.ron b/wired/wired.ron index da082bb..4d905e4 100644 --- a/wired/wired.ron +++ b/wired/wired.ron @@ -1,6 +1,6 @@ ( max_notifications: 0, - timeout: 10000, + timeout: 5000, zero_timeout_behavior: NeverExpire, @@ -52,10 +52,10 @@ params: NotificationBlock(( monitor: 0, border_width: 2.0, - border_rounding: 2.0, + border_rounding: 4.0, //background_color: Color(r: 0.15686, g: 0.15686, b: 0.15686, a: 1.0), background_color: Color(hex: "#141c21"), - border_color: Color(hex: "#93a1a1"), + border_color: Color(hex: "#141c21"), border_color_low: Color(hex: "#282828"), border_color_critical: Color(hex: "#fb4934"), border_color_paused: Color(hex: "#fabd2f"), @@ -92,10 +92,10 @@ text: "%s", font: "JetBrainsMonoNL Nerd Font Mono 11", ellipsize: Middle, - color: Color(hex: "#d6c4c4"), + color: Color(hex: "#98a6a6"), color_hovered: Color(hex: "#fbf1c7"), - padding: Padding(left: 7.0, right: 7.0, top: 7.0, bottom: 0.0), - dimensions: (width: (min: 50, max: 150), height: (min: 0, max: 0)), + padding: Padding(left: 14.0, right: 14.0, top: 10.0, bottom: 4.0), + dimensions: (width: (min: 0, max: 150), height: (min: 0, max: 0)), )), ), @@ -110,8 +110,8 @@ font: "JetBrainsMonoNL Nerd Font Mono 10", color: Color(hex: "#93a1a1"), color_hovered: Color(hex: "#d6c4c4"), - padding: Padding(left: 7.0, right: 7.0, top: 3.0, bottom: 7.0), - width: (min: 150, max: 250), + padding: Padding(left: 14.0, right: 14.0, top: 4.0, bottom: 10.0), + width: (min: 0, max: 450), scroll_speed: 0.1, lhs_dist: 35.0, rhs_dist: 35.0,