From dedca628425f3b20809cf3ec073653ee35bcb07f Mon Sep 17 00:00:00 2001 From: Slipstream Date: Wed, 18 Dec 2024 23:22:45 +0530 Subject: [PATCH 1/3] Moved keybindings from separate file and remove swhkdrc --- airootfs/etc/skel/.config/hypr/hyprland.conf | 132 ----- airootfs/etc/skel/.config/hypr/keybinds.conf | 133 +++++ airootfs/etc/skel/.config/hypr/swhkd/swhkdrc | 573 ------------------- 3 files changed, 133 insertions(+), 705 deletions(-) create mode 100644 airootfs/etc/skel/.config/hypr/keybinds.conf delete mode 100644 airootfs/etc/skel/.config/hypr/swhkd/swhkdrc diff --git a/airootfs/etc/skel/.config/hypr/hyprland.conf b/airootfs/etc/skel/.config/hypr/hyprland.conf index 92300c04..b5d4c6f3 100644 --- a/airootfs/etc/skel/.config/hypr/hyprland.conf +++ b/airootfs/etc/skel/.config/hypr/hyprland.conf @@ -208,136 +208,4 @@ gestures { # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -# See https://wiki.hyprland.org/Configuring/Keywords/ for more -$mainMod = SUPER -# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bindl =, switch:[Lid Switch], exec, hyprlock -bind = $mainMod, Q, killactive -# bind = $mainMod SHIFT, B, exec, brave-nightly --profile-path="Default" -bind = $mainMod CTRL SHIFT, B, exec, google-chrome --guest -bind = $mainMod, B, exec, google-chrome -bind = $mainMod SHIFT, Q, exit -bindle = $mainMod SHIFT, R, exec, waybar -bind = $mainMod, C, exec, ~/.config/hypr/scripts/hyprconky -# bind = $mainMod SHIFT, E, exec, ~/.config/hypr/scripts/emacs-edit /home/stig/.config/hypr/hyprland.conf -bind = , Print, exec, ~/.config/hypr/scripts/screenshotty -bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshotty -# bind = $mainMod, Return, exec, [workspace special;float;100 100 ^(kitty)$] kitty -bind = $mainMod, Return, exec, kitty -# bind = $mainMod SHIFT, Return, exec, [float; center; size 900 800] kitty -bind = $mainMod, KP_Enter, exec, kitty -e zsh -bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/restart-eww -# bindr = $mainMod, C, exec, killall conky || conky -c ~/.config/hypr/conky/stig_doom-one.conkyrc # conky-toggle keybind -bind = $mainMod, W, exec, ~/.config/hypr/scripts/eww-open-fancy -bind = $mainMod, S, exec, ~/.config/hypr/scripts/screenshotty -bind = $mainMod, X, exec, ~/.config/eww/scripts/power # archlinux-logout -bind = $mainMod, E, exec, pypr toggle files -# bind = $mainMod SHIFT, E, exec, ~/.config/hypr/scripts/open-tui ranger # kitty -e ranger -# bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh # --effect-blur 7x5 -bind = $mainMod, L, exec, hyprlock -bind = $mainMod SHIFT, L, exit -bind = $mainMod, F, fullscreen -bind = $mainMod SHIFT, F, togglefloating -bind = $mainMod, V, exec, nwg-clipman -bind = $mainMod SHIFT, P, pseudo # dwindle -bind = $mainMod, J, togglesplit # dwindle -bind = $mainMod SHIFT, T, exec, ~/.config/hypr/scripts/hyprlayout - -bindr = $mainMod, Escape, exec, hyprctl kill -# bindr = SUPER, SUPER_L, exec, killall rofi || rofi -bind = $mainMod, SPACE, exec, albert toggle # killall rofi || rofi -bind = $mainMod, Z, exec, emacsclient -nc -bind = $mainMod CTRL, Z, exec, ~/.config/hypr/scripts/restart-emacs -bind = $mainMod SHIFT, Z, exec, emacs --daemon -bind = $mainMod, G, togglegroup # turns on max layout -> note that the window in focus becomes the top of the group -bind = $mainMod, Y, changegroupactive # y switches windows in "max" layout -bind = $mainMod, TAB, togglespecialworkspace -bind = $mainMod, H, movetoworkspacesilent, special -# note that if you accidentally move a window to the special workspace you can always drag it out -# but the special workspace remains in focus till it's hidden - -# Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d - -# Move window with mainMod + shift arrow keys -bind = $mainMod SHIFT, left, movewindow, l -bind = $mainMod SHIFT, right, movewindow, r -bind = $mainMod SHIFT, up, movewindow, u -bind = $mainMod SHIFT, down, movewindow, d - -# Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, workspace, 1 -bind = $mainMod, 2, workspace, 2 -bind = $mainMod, 3, workspace, 3 -bind = $mainMod, 4, workspace, 4 -bind = $mainMod, 5, workspace, 5 -bind = $mainMod, 6, workspace, 6 -bind = $mainMod, 7, workspace, 7 -bind = $mainMod, 8, workspace, 8 -bind = $mainMod, 9, workspace, 9 -bind = $mainMod, 0, workspace, 10 - -# Move active window to a workspace with mainMod + SHIFT + [0-9] -bind = $mainMod SHIFT, 1, movetoworkspace, 1 -bind = $mainMod SHIFT, 2, movetoworkspace, 2 -bind = $mainMod SHIFT, 3, movetoworkspace, 3 -bind = $mainMod SHIFT, 4, movetoworkspace, 4 -bind = $mainMod SHIFT, 5, movetoworkspace, 5 -bind = $mainMod SHIFT, 6, movetoworkspace, 6 -bind = $mainMod SHIFT, 7, movetoworkspace, 7 -bind = $mainMod SHIFT, 8, movetoworkspace, 8 -bind = $mainMod SHIFT, 9, movetoworkspace, 9 -bind = $mainMod SHIFT, 0, movetoworkspace, 10 - -# Move active window SILENTLY to a workspace with mainMod + CTRL + [0-9] -bind = $mainMod CTRL, 1, movetoworkspacesilent, 1 -bind = $mainMod CTRL, 2, movetoworkspacesilent, 2 -bind = $mainMod CTRL, 3, movetoworkspacesilent, 3 -bind = $mainMod CTRL, 4, movetoworkspacesilent, 4 -bind = $mainMod CTRL, 5, movetoworkspacesilent, 5 -bind = $mainMod CTRL, 6, movetoworkspacesilent, 6 -bind = $mainMod CTRL, 7, movetoworkspacesilent, 7 -bind = $mainMod CTRL, 8, movetoworkspacesilent, 8 -bind = $mainMod CTRL, 9, movetoworkspacesilent, 9 -bind = $mainMod CTRL, 0, movetoworkspacesilent, 0 - -# Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 - -# Move/resize windows with mainMod + LMB/RMB and dragging -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod SHIFT, mouse:272, resizewindow -bindm = ALT, mouse:272, resizewindow -bindm = $mainMod, mouse:273, resizewindow - -# Multimedia keys -# l -> do stuff even when locked -# e -> repeats when key is held -bindle=, XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/vol --up -bindle=, XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/vol --down -bindle=, XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/bri --up -bindle=, XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/bri --down -# bindle=, XF86Search, exec, spotlight -bindl=, XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle -bindl=, XF86AudioPlay, exec, playerctl play-pause -bindl=, XF86AudioNext, exec, playerctl next -bindl=, XF86AudioPrev, exec, playerctl previous - -# Misc bindings -bind = CTRL, Escape, exec, kitty -e btop -bindr=, Caps_Lock, exec, swayosd-client --caps_lock -# Submaps - -bind = SUPERCTRLSHIFT, escape, submap, passthrough - submap = passthrough -bind = SUPERCTRLSHIFT, escape, submap, reset - submap = reset -bind = Super , Alt_L, submap, passthrough - submap = passthrough -bind = Super , Alt_L, submap, reset - submap = reset diff --git a/airootfs/etc/skel/.config/hypr/keybinds.conf b/airootfs/etc/skel/.config/hypr/keybinds.conf new file mode 100644 index 00000000..3b1be088 --- /dev/null +++ b/airootfs/etc/skel/.config/hypr/keybinds.conf @@ -0,0 +1,133 @@ +# See https://wiki.hyprland.org/Configuring/Keywords/ for more +$mainMod = SUPER +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bindl =, switch:[Lid Switch], exec, hyprlock +bind = $mainMod, Q, killactive +# bind = $mainMod SHIFT, B, exec, brave-nightly --profile-path="Default" +bind = $mainMod CTRL SHIFT, B, exec, google-chrome --guest +bind = $mainMod, B, exec, google-chrome +bind = $mainMod SHIFT, Q, exit +bindle = $mainMod SHIFT, R, exec, waybar +bind = $mainMod, C, exec, ~/.config/hypr/scripts/hyprconky +# bind = $mainMod SHIFT, E, exec, ~/.config/hypr/scripts/emacs-edit /home/stig/.config/hypr/hyprland.conf +bind = , Print, exec, ~/.config/hypr/scripts/screenshotty +bind = $mainMod SHIFT, S, exec, ~/.config/hypr/scripts/screenshotty +# bind = $mainMod, Return, exec, [workspace special;float;100 100 ^(kitty)$] kitty +bind = $mainMod, Return, exec, kitty +# bind = $mainMod SHIFT, Return, exec, [float; center; size 900 800] kitty +bind = $mainMod, KP_Enter, exec, kitty -e zsh +bind = $mainMod SHIFT, W, exec, ~/.config/hypr/scripts/restart-eww +# bindr = $mainMod, C, exec, killall conky || conky -c ~/.config/hypr/conky/stig_doom-one.conkyrc # conky-toggle keybind +bind = $mainMod, W, exec, ~/.config/hypr/scripts/eww-open-fancy +bind = $mainMod, S, exec, ~/.config/hypr/scripts/screenshotty +bind = $mainMod, X, exec, ~/.config/eww/scripts/power # archlinux-logout +bind = $mainMod, E, exec, pypr toggle files +# bind = $mainMod SHIFT, E, exec, ~/.config/hypr/scripts/open-tui ranger # kitty -e ranger +# bind = $mainMod, L, exec, ~/.config/hypr/scripts/lock.sh # --effect-blur 7x5 +bind = $mainMod, L, exec, hyprlock +bind = $mainMod SHIFT, L, exit +bind = $mainMod, F, fullscreen +bind = $mainMod SHIFT, F, togglefloating +bind = $mainMod, V, exec, nwg-clipman +bind = $mainMod SHIFT, P, pseudo # dwindle +bind = $mainMod, J, togglesplit # dwindle +bind = $mainMod SHIFT, T, exec, ~/.config/hypr/scripts/hyprlayout + +bindr = $mainMod, Escape, exec, hyprctl kill +# bindr = SUPER, SUPER_L, exec, killall rofi || rofi +bind = $mainMod, SPACE, exec, albert toggle # killall rofi || rofi +bind = $mainMod, Z, exec, emacsclient -nc +bind = $mainMod CTRL, Z, exec, ~/.config/hypr/scripts/restart-emacs +bind = $mainMod SHIFT, Z, exec, emacs --daemon +bind = $mainMod, G, togglegroup # turns on max layout -> note that the window in focus becomes the top of the group +bind = $mainMod, Y, changegroupactive # y switches windows in "max" layout +bind = $mainMod, TAB, togglespecialworkspace +bind = $mainMod, H, movetoworkspacesilent, special +# note that if you accidentally move a window to the special workspace you can always drag it out +# but the special workspace remains in focus till it's hidden + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Move window with mainMod + shift arrow keys +bind = $mainMod SHIFT, left, movewindow, l +bind = $mainMod SHIFT, right, movewindow, r +bind = $mainMod SHIFT, up, movewindow, u +bind = $mainMod SHIFT, down, movewindow, d + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +bind = $mainMod, 5, workspace, 5 +bind = $mainMod, 6, workspace, 6 +bind = $mainMod, 7, workspace, 7 +bind = $mainMod, 8, workspace, 8 +bind = $mainMod, 9, workspace, 9 +bind = $mainMod, 0, workspace, 10 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +bind = $mainMod SHIFT, 1, movetoworkspace, 1 +bind = $mainMod SHIFT, 2, movetoworkspace, 2 +bind = $mainMod SHIFT, 3, movetoworkspace, 3 +bind = $mainMod SHIFT, 4, movetoworkspace, 4 +bind = $mainMod SHIFT, 5, movetoworkspace, 5 +bind = $mainMod SHIFT, 6, movetoworkspace, 6 +bind = $mainMod SHIFT, 7, movetoworkspace, 7 +bind = $mainMod SHIFT, 8, movetoworkspace, 8 +bind = $mainMod SHIFT, 9, movetoworkspace, 9 +bind = $mainMod SHIFT, 0, movetoworkspace, 10 + +# Move active window SILENTLY to a workspace with mainMod + CTRL + [0-9] +bind = $mainMod CTRL, 1, movetoworkspacesilent, 1 +bind = $mainMod CTRL, 2, movetoworkspacesilent, 2 +bind = $mainMod CTRL, 3, movetoworkspacesilent, 3 +bind = $mainMod CTRL, 4, movetoworkspacesilent, 4 +bind = $mainMod CTRL, 5, movetoworkspacesilent, 5 +bind = $mainMod CTRL, 6, movetoworkspacesilent, 6 +bind = $mainMod CTRL, 7, movetoworkspacesilent, 7 +bind = $mainMod CTRL, 8, movetoworkspacesilent, 8 +bind = $mainMod CTRL, 9, movetoworkspacesilent, 9 +bind = $mainMod CTRL, 0, movetoworkspacesilent, 0 + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod SHIFT, mouse:272, resizewindow +bindm = ALT, mouse:272, resizewindow +bindm = $mainMod, mouse:273, resizewindow + +# Multimedia keys +# l -> do stuff even when locked +# e -> repeats when key is held +bindle=, XF86AudioRaiseVolume, exec, ~/.config/hypr/scripts/vol --up +bindle=, XF86AudioLowerVolume, exec, ~/.config/hypr/scripts/vol --down +bindle=, XF86MonBrightnessUp, exec, ~/.config/hypr/scripts/bri --up +bindle=, XF86MonBrightnessDown, exec, ~/.config/hypr/scripts/bri --down +# bindle=, XF86Search, exec, spotlight +bindl=, XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindl=, XF86AudioPlay, exec, playerctl play-pause +bindl=, XF86AudioNext, exec, playerctl next +bindl=, XF86AudioPrev, exec, playerctl previous + +# Misc bindings +bind = CTRL, Escape, exec, kitty -e btop +bindr=, Caps_Lock, exec, swayosd-client --caps_lock +# Submaps + +bind = SUPERCTRLSHIFT, escape, submap, passthrough + submap = passthrough +bind = SUPERCTRLSHIFT, escape, submap, reset + submap = reset + +bind = Super , Alt_L, submap, passthrough + submap = passthrough +bind = Super , Alt_L, submap, reset + submap = reset diff --git a/airootfs/etc/skel/.config/hypr/swhkd/swhkdrc b/airootfs/etc/skel/.config/hypr/swhkd/swhkdrc deleted file mode 100644 index 6023bee5..00000000 --- a/airootfs/etc/skel/.config/hypr/swhkd/swhkdrc +++ /dev/null @@ -1,573 +0,0 @@ -################################################################# -# KEYBOARD BINDINGS FOR ANY TWM -################################################################# - -################################################################# -# SUPER + FUNCTION KEYS -################################################################# - -# To source (reload) sxhkd: super+shift+s - - -# Vivaldi -super + F1 - vivaldi-stable - -# Atom -super + F2 - atom - -#Inkscape -super + F3 - inkscape - -#Gimp -super + F4 - gimp - -#Meld -super + F5 - meld - -#Vlc -super + F6 - vlc --video-on-top - -#Virtualbox -super + F7 - virtualbox - -#Thunar -super + F8 - pcmanfm - -#Evolution -super + F9 - evolution - -#Spotify -super + F10 - com.spotify.Client - -#Rofi Fullscreen -super + F11 - rofi -theme-str 'window \{width: 100%;height: 100%;\}' -show drun - -#Rofi -super + F12 - rofi -show drun - -################################################################# -# SUPER + ... KEYS -################################################################# - -#Thunar -super + e - pcmanfm - -#Browser -super + w - vivaldi-stable - -#Conky-toggle -super + c - conky-toggle - -#killall conky -super + ctrl + c - killall conky - -#Htop -# super + h - # urxvt 'htop task manager' -e htop - -#archlinux-logout -super + x - archlinux-logout - -#Rofi theme selector -# super + r - # dmenu_run -i -l 12 -fn 'Droid Sans Mono-16' -nb '#3e4452' -nf '#61afef' -sf '#97c277' -sb '#282c34' - -#Urxvt -super + t - urxvt - -#Pavucontrol -super + v - pavucontrol - -#Pragha -super + m - pragha - -#wezterm -super + Return - wezterm - #kitty - -#Xkill -super + Escape - hyperctl kill - -# Kill xkill -super + shift + Escape - killall xkill - - -################################################################# -# SUPER + SHIFT KEYS -################################################################# - -#File-Manager -super + shift + Return - pcmanfm - -#Keyboard dependent -#File-Manager -#super + shift + KP_Enter -# thunar - -#dmenu -super + shift + d - dmenu_run -i -nb '#191919' -nf '#fea63c' -sb '#fea63c' -sf '#191919' -fn 'NotoMonoRegular:bold:pixelsize=14' - -# Ulauncher -super + d - ulauncher-toggle - -#reload sxhkd: -super + shift + s - pkill -USR1 -x sxhkd - -#Keyboard dependent -#super + shift + KP_Enter -# thunar - - - -# Config files editing -super + ctrl + q - emacsclient -nc '.config/qtile/config.py' - -super + ctrl + s - emacsclient -nc '.config/qtile/sxhkd/sxhkdrc' - -super + ctrl + w - emacsclient -nc '.config/wezterm/wezterm.lua' - -################################################################# -# CONTROL + ALT KEYS -################################################################# - -#arcolinux-welcome-app -ctrl + alt + w - arcolinux-welcome-app - -#archlinux-tweak-tool -ctrl + alt + e - archlinux-tweak-tool - -#conky-rotate -ctrl + alt + Next - conky-rotate -n - -#conky-rotate -ctrl + alt + Prior - conky-rotate -p - -#File-Manager -# ctrl + alt + b - # thunar - -#Catfish -ctrl + alt + c - catfish - -#Chromium -ctrl + alt + g - chromium -no-default-browser-check - -#Firefox -ctrl + alt + f - firefox - -#Qutebrowser -ctrl + alt +q - qutebrowser - -#Brave -ctrl + alt + b - brave - -#Brave incognito -super + b - brave --incognito - -super + g - firefox - -#Element -ctrl + alt + e - im.riot.Riot - -#Discord -ctrl + alt + d - com.discordapp.Discord - -#Nitrogen -ctrl + alt + i - nitrogen - -#archlinux-logout -ctrl + alt + k - archlinux-logout - -#archlinux-logout -ctrl + alt + l - archlinux-logout - -#Pamac-manager -ctrl + alt + p - pamac-manager - -#Xfce4-settings-manager -ctrl + alt + m - xfce4-settings-manager - -#Pulse Audio Control -ctrl + alt + u - pavucontrol - -#Rofi theme selector -ctrl + alt + r - rofi-theme-selector - -#Spotify -ctrl + alt + s - spotify - -#alacritty -ctrl + alt + Return - alacritty - -#alacritty -ctrl + alt + t - alacritty - -#Vivaldi -ctrl + alt + v - vivaldi-stable - -#Xfce4-appfinder -ctrl + alt + a - xfce4-appfinder - - -#Keyboard dependent -#alacritty -#ctrl + alt + KP_Enter -# alacritty - - -################################################################# -# ALT + ... KEYS -################################################################# - -# #Wallpaper trash -# alt + t -# variety -t - -# #Wallpaper next -# alt + n -# variety -n - -# #Wallpaper previous -# alt + p -# variety -p - -# #Wallpaper favorite -# alt + f -# variety -f - -# #Wallpaper previous -# alt + Left -# variety -p - -# #Wallpaper next -# alt + Right -# variety -n - -# #Wallpaper toggle-pause -# alt + Up -# variety --toggle-pause - -# #Wallpaper resume -# alt + Down -# variety --resume - -#Xfce4-appfinder -alt + F2 - xfce4-appfinder --collapsed - -#Xfce4-appfinder -alt + F3 - xfce4-appfinder - - -################################################################# -#VARIETY KEYS WITH PYWAL -################################################################# - -#Wallpaper trash -# alt + shift + t -# variety -t && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& - -#Wallpaper next -# alt + shift + n -# variety -n && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& - -#Wallpaper previous -# alt + shift + p -# variety -p && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& - -#Wallpaper favorite -# alt + shift + f -# variety -f && wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& - -# #Wallpaper update -# alt + shift + u -# wal -i $(cat $HOME/.config/variety/wallpaper/wallpaper.jpg.txt)& - -################################################################# -# CONTROL + SHIFT KEYS -################################################################# - -#Xcfe4-TaskManager -ctrl + shift + Escape - kitty -e btop - -ctrl + Escape - kitty -e btop -super + a - kitty -e btop - -#ctrl + j -alt + z - kitty -e zellij - -################################################################# -# SCREENSHOTS -################################################################# - -#Scrot -shift + Print - scrot 'ArcoLinux-%Y-%m-%d-%s_screenshot_$wx$h.jpg' -e 'mv $f $$(xdg-user-dir PICTURES)' - -#KDE Spectacle -Print - #spectacle - xfce4-screenshooter -r - -#screeenshooter -ctrl + Print - xfce4-screenshooter - -#Gnome-Screenshot -ctrl + shift + Print - gnome-screenshot -i - -F10 # Made a useless key useful - emacsclient -nc # too bad daemon doesn't work - -super + z - emacsclient -nc - -super + shift + z - emacs --daemon & - -super + ctrl + z - killall emacs - -super + n - wezterm start nmtui - -################################################################# -# FUNCTION KEYS -################################################################# - -#xfce4-terminal dropdown -# F12 -# xfce4-terminal --drop-down - - -################################################################# -# MULTIMEDIA KEYS -################################################################# - -#Raises volume -XF86AudioRaiseVolume - amixer set Master 10%+ - -#Lowers volume -XF86AudioLowerVolume - amixer set Master 10%- - -#Mute -XF86AudioMute - amixer -D pulse set Master 1+ toggle - -#Playerctl works for Pragha, Spotify and others -#Delete the line for playerctl if you want to use mpc -#and replace it with the corresponding code -#mpc works for e.g.ncmpcpp -#mpc toggle -#mpc next -#mpc prev -#mpc stop - -#PLAY -XF86AudioPlay - playerctl play-pause - -#Next -XF86AudioNext - playerctl next - -#previous -XF86AudioPrev - playerctl previous - -#Stop -XF86AudioStop - playerctl stop - -# #Brightness up -XF86MonBrightnessUp - light -A 5 - -# #Brightness down -XF86MonBrightnessDown - light -U 5 - -######################### -# POLYBAR # -######################### - -# Qtile has its own bar -#Hide polybar -#super + y -# polybar-msg cmd toggle - - -################################################################# -################################################################# -################## DESKTOP SPECIFIC ######################## -################################################################# -################################################################# - -################################################################# -# CTRL + ALT KEYS -################################################################# - -#Picom Toggle -ctrl + alt + o - ~/.config/qtile/scripts/picom-toggle.sh - -################################################################# -# SUPER + KEYS -################################################################# - -#Toggle fullscreen of window -#super + f -# qtile-cmd -o window -f toggle_fullscreen - -# normalize layout (undo size changes) -# super + n - # qtile-cmd -o layout -f normalize - -#kill -#super + q -# qtile-cmd -o window -f kill - -# Foucs WINDOW (Navigate) -#super + {Left,Down,Up,Right} -# qtile-cmd -o layout -f {left,down,up,right} - -# Foucs WINDOW (Navigate) -#super + {h,j,k,l} -# qtile-cmd -o layout -f {left,down,up,right} - -################################################################# -# SUPER KEYS -################################################################# - -#Focus selected desktop -#super + Tab -# qtile-cmd -o screen -f next_group - -# set the window state -#super + space -# qtile-cmd -o cmd -f next_layout - - -################################################################# -# SUPER + SHIFT KEYS -################################################################# - -#kill -#super + shift + q -# qtile-cmd -o window -f kill - -#Quit Qtile -#super + shift + x -# qtile-cmd -o cmd -f shutdown - -# FLIP LAYOUT FOR MONADTALL/MONADWIDE -#super + shift + f -# qtile-cmd -o layout -f flip - -# MOVE WINDOWS UP OR DOWN BSP LAYOUT - -#super + shift + {h,j,k,l} -# qtile-cmd -o layout -f {shuffle_left,shuffle_down,shuffle_up,shuffle_right} - -# MOVE WINDOWS UP OR DOWN MONADTALL/MONADWIDE LAYOUT - -#super + shift + {Up,Down,Left,Right} -# qtile-cmd -o layout -f {shuffle_up,shuffle_down,swap_left,swap_right} - -# TOGGLE FLOATING LAYOUT -#super + shift + space -# qtile-cmd -o window -f toggle_floating - -#Reload Qtile -#super + shift + r -# qtile-cmd -o cmd -f restart - - -################################################################# -# SUPER + ALT KEYS -################################################################# - -# FLIP LAYOUT FOR BSP - -#super + alt + {h,j,k,l} -# qtile-cmd -o layout -f {flip_left,flip_down,flip_up,flip_right} - - -################################## -## The RESIZE KEYS ARE RESERVED ## -## ~/.config/qtile/config.py ## -## Lines 191 - 235 ## -################################## -## RESIZE UP, DOWN, LEFT, RIGHT ## -#super + control + l -#super + control + Right -#super + control + h -#super + control + Left -#super + control + k -#super + control + Up -#super + control + j -#super + control + Down -################################## From 543676dd5ad90d19ab69a65b92b7bc31581642e3 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Wed, 18 Dec 2024 23:35:50 +0530 Subject: [PATCH 2/3] Added udiskie and multilib repo --- airootfs/etc/skel/.config/hypr/hyprland.conf | 1 + packages.x86_64 | 2 ++ pacman.conf | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/airootfs/etc/skel/.config/hypr/hyprland.conf b/airootfs/etc/skel/.config/hypr/hyprland.conf index b5d4c6f3..b6a91e02 100644 --- a/airootfs/etc/skel/.config/hypr/hyprland.conf +++ b/airootfs/etc/skel/.config/hypr/hyprland.conf @@ -45,6 +45,7 @@ exec = hyprpaper exec-once = ~/.config/hypr/scripts/eww-open-fancy # exec-once = swaync # sway notification center -> really cool icons exec-once = mako +exec-once = udiskie & exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store # exec-once = systemctl --user import-environment WAYLAND_DISPLAY diff --git a/packages.x86_64 b/packages.x86_64 index 033be865..9e044b2a 100644 --- a/packages.x86_64 +++ b/packages.x86_64 @@ -59,9 +59,11 @@ hyprcursor hyprlock hyprpaper hypridle +udiskie xdg-desktop-portal-hyprland xdg-desktop-portal-gtk + gpart gptfdisk grab diff --git a/pacman.conf b/pacman.conf index 0173550f..f66fb46b 100644 --- a/pacman.conf +++ b/pacman.conf @@ -89,8 +89,8 @@ Include = /etc/pacman.d/mirrorlist #[multilib-testing] #Include = /etc/pacman.d/mirrorlist -#[multilib] -#Include = /etc/pacman.d/mirrorlist +[multilib] +Include = /etc/pacman.d/mirrorlist # An example of a custom package repository. See the pacman manpage for # tips on creating your own repositories. From 7cb222388e41b0088091677efefc2bc9eb99a215 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Fri, 20 Dec 2024 22:32:14 +0530 Subject: [PATCH 3/3] Added line to source keybinds --- airootfs/etc/skel/.config/hypr/hyprland.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/airootfs/etc/skel/.config/hypr/hyprland.conf b/airootfs/etc/skel/.config/hypr/hyprland.conf index b6a91e02..10157422 100644 --- a/airootfs/etc/skel/.config/hypr/hyprland.conf +++ b/airootfs/etc/skel/.config/hypr/hyprland.conf @@ -26,6 +26,7 @@ env = GDK_BACKEND,wayland,x11 # env = WLR_NO_HARDWARE_CURSORS, 1 # useful for VMs, bad on bare metal # See https://wiki.hyprland.org/Configuring/Keywords/ for more +source = ~/.config/hypr/keybinds.conf # exec-once = xhost +si:localuser:$USER # for podman+distrobox exec-once = hypridle exec-once = waybar