more comments in hyprland configuration

This commit is contained in:
wt committed 2024-11-22 12:02:20 +07:00
1 parent 8160868afe
commit 30cae3814c
15 files changed
+430 -449

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
#--------- animations --------------------------------------- #--------- animations ---------------------------------------
animations { animations {
enabled = true enabled = true # enabling animations
animation = windows, 1, 2, default animation = windows, 1, 2, default
animation = windowsOut, 1, 2, default, popin 80% animation = windowsOut, 1, 2, default, popin 80%
animation = border, 1, 2, default animation = border, 1, 2, default
+1
View File
@@ -2,4 +2,5 @@
background=$(ls ~/Pictures/wallpaper/*.png | shuf -n 1) background=$(ls ~/Pictures/wallpaper/*.png | shuf -n 1)
sed -i "s|.*Pictures.*|\tpath = $background|" ../hyprlock.conf sed -i "s|.*Pictures.*|\tpath = $background|" ../hyprlock.conf
sleep 1
hyprlock hyprlock
+10 -9
View File
@@ -1,14 +1,15 @@
#-------- decorations ------------ #-------- decorations -------------------------------------
decoration { decoration {
rounding = 10 rounding = 10 # rounding corners
dim_inactive = true dim_inactive = true # dimming inactive windows
#--- blur settings ----------------------------------------
blur { blur {
enabled = true enabled = true # blur enabled
size = 10 size = 10 # blur size
passes = 1 passes = 1 # blur passes
vibrancy = 0.1696 # blur vibrancy
vibrancy = 0.1696
} }
#----------------------------------------------------------
} }
#--------------------------------- #----------------------------------------------------------
+11 -15
View File
@@ -1,20 +1,16 @@
#------------- default env vars ----------------------------------------------- #------------- default env vars ---------------------------------------------------------
#------------- QT -----------------------------------------------------------------------
#------------- QT ------------------ env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that env = QT_QPA_PLATFORM,wayland # qt backend is wayland
env = QT_QPA_PLATFORM,wayland env = QT_SCALE_FACTOR,1 # qt scaling factor
env = QT_SCALE_FACTOR,1 #----------------------------------------------------------------------------------------
#----------------------------------- #---------- GTK -------------------------------------------------------------------------
#---------- GTK ---------------
env = GTK_THEME,Adwaita-dark # setting up gtk theme env = GTK_THEME,Adwaita-dark # setting up gtk theme
env = GTK2_RC_FILES,/home/tola/dotfiles/gtk-2.0/gtkrc # setting up gtk2 theme env = GTK2_RC_FILES,/home/tola/dotfiles/gtk-2.0/gtkrc # setting up gtk2 theme
#------------------------------ #----------------------------------------------------------------------------------------
#-------------------- hyprcursor --------------------------------------------------------
#-------------------- hyprcursor ------------
env = HYPRCURSOR_THEME,Bibata-Modern-Ice # settings up hyprcursor theme env = HYPRCURSOR_THEME,Bibata-Modern-Ice # settings up hyprcursor theme
env = HYPRCURSOR_SIZE,24 # setting up hyprcursor size env = HYPRCURSOR_SIZE,24 # setting up hyprcursor size
#-------------------------------------------- #----------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------
#------------------------------------------------------------------------------
+4 -2
View File
@@ -1,4 +1,6 @@
#----- hyprgrass gestures configurations ----------------------------
plugin:touch_gestures { plugin:touch_gestures {
hyprgrass-bind = , swipe:3:d, killactive hyprgrass-bind = , swipe:3:d, killactive # kill active window
hyprgrass-bind = , tap:3, exec, kitty hyprgrass-bind = , tap:3, exec, kitty # open kitty terminal
} }
#--------------------------------------------------------------------
+15 -10
View File
@@ -1,16 +1,21 @@
#-------- hypridle configuration --------------------------------------------------------
#----- general configuration ------------------------------------------------------------
general { general {
lock_cmd = pidof hyprlock || hyprlock lock_cmd = pidof hyprlock || hyprlock # lock command
before_sleep_cmd = loginctl lock-session before_sleep_cmd = loginctl lock-session # before sleep command is lock-session
} }
#----------------------------------------------------------------------------------------
#----- listener 600 seconds(10 minutes) -------------------------------------------------
listener { listener {
timeout = 600 timeout = 600 # timeout
on-timeout = loginctl lock-session on-timeout = loginctl lock-session # command when timeout
} }
#----------------------------------------------------------------------------------------
#------ listener 7200 seconds(2 hours) --------------------------------------------------
listener { listener {
timeout = 7200 timeout = 7200 # timeout
on-timeout = hyprctl dispatch dpms off on-timeout = hyprctl dispatch dpms off # command when timeout
on-timeout = hyprctl dispatch dpms on on-timeout = hyprctl dispatch dpms on # command when timeout
} }
#----------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------
+36 -34
View File
@@ -1,54 +1,56 @@
# Hypland config created by Anatoly Mironcenko #------------ Hypland config created by Anatoly Mironcenko ------------------------------------------------------------
#------------ include some configuration files ------------------------------------------------------------------------
source=~/.config/hypr/programs.conf # import programs configuration source=~/.config/hypr/programs.conf # import programs configuration
source=~/.config/hypr/keybinds.conf # import keybinds configuration source=~/.config/hypr/keybinds.conf # import keybinds configuration
source=~/dotfiles/hypr/hyprgrass.conf # import hyprgrass configuration source=~/dotfiles/hypr/hyprgrass.conf # import hyprgrass configuration
source=~/.config/hypr/windowrules.conf # import windowrules configuration source=~/.config/hypr/windowrules.conf # import windowrules configuration
source=~/.config/hypr/startup.conf # import startup configuration source=~/.config/hypr/startup.conf # import startup configuration
source=~/dotfiles/hypr/monitors.conf # import monitors configuration source=~/dotfiles/hypr/monitors.conf # import monitors configuration
source=~/dotfiles/hypr/environment.conf # import environments configuration source=~/dotfiles/hypr/environment.conf # import environments configuration
source=~/dotfiles/hypr/keyboard.conf # import keyboard configuration source=~/dotfiles/hypr/keyboard.conf # import keyboard configuration
#----------------------- system config --------------------------------- #----------------------------------------------------------------------------------------------------------------------
#----------------------- system config --------------------------------------------------------------------------------
#------ general configuration -----------------------------------------------------------------------------------------
general { general {
gaps_in = 5 gaps_in = 5 # gaps inner
gaps_out = 5 gaps_out = 5 # gaps outer
border_size = 1 border_size = 1 # border size
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg # border color active window
col.inactive_border = rgba(595959aa) col.inactive_border = rgba(595959aa) # border color inactive window
layout = dwindle # system tiling layout
layout = dwindle allow_tearing = false # enabling tearing
allow_tearing = false
#apply_sens_to_raw = 0 #apply_sens_to_raw = 0
} }
#----------------------------------------------------------------------------------------------------------------------
source=~/dotfiles/hypr/decoration.conf # import decoration configuration #------------ include some configuration files ------------------------------------------------------------------------
source=~/dotfiles/hypr/animation.conf # import animation configuration source=~/dotfiles/hypr/decoration.conf # import decoration configuration
source=~/dotfiles/hypr/animation.conf # import animation configuration
#----------------------------------------------------------------------------------------------------------------------
dwindle { dwindle {
pseudotile = false pseudotile = false
preserve_split = true # you probably want this preserve_split = true # you probably want this
} }
#--------- gestures configuration -------------------------------------------------------------------------------------
gestures { gestures {
workspace_swipe = true workspace_swipe = true # enabling swipne workspaces with gestures
workspace_swipe_fingers = 3 workspace_swipe_fingers = 3 # fingers to swipe
workspace_swipe_distance = 300 workspace_swipe_distance = 300 # distance to swipe
} }
#----------------------------------------------------------------------------------------------------------------------
misc { misc {
force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers
} }
debug { debug {
damage_tracking = 2 damage_tracking = 2
} }
#---------- xwayland configuration ------------------------------------------------------------------------------------
xwayland { xwayland {
force_zero_scaling = true force_zero_scaling = true # disable scaling xwayland windows
} }
#----------------------------------------------------------------------------------------------------------------------
#device:epic-mouse-v1 { #device:epic-mouse-v1 {
# sensitivity = -0.5 # sensitivity = -0.5
#} #}
#----------------------------------------------------------------------------------------------------------------------
+111 -108
View File
@@ -1,126 +1,129 @@
# hyprlock.conf #--------- hyprlock configuration -------------------------------------------------------------------------------------------------------------------
# ------------------------------------------------------ #---- backgroung configuration ----------------------------------------------------------------------------------------------------------------------
# HyprLock
# ........
background { background {
monitor = monitor = # show on all monitors
path = /home/tola/Pictures/wallpaper/3d-tech.png path = /home/tola/Pictures/wallpaper/adwaita-l.png
color = rgba(25, 20, 20, 1.0) color = rgba(25, 20, 20, 1.0) # color
blur_passes = 4 # 0 disables blurring blur_passes = 4 # 0 disables blurring
blur_size = 2 blur_size = 2 # blur size
noise = 0.0117 noise = 0.0117 # noise
contrast = 0.8916 contrast = 0.8916 # contrast setting
brightness = 0.8172 brightness = 0.8172 # brightness setting
vibrancy = 0.1696 vibrancy = 0.1696 # vibrancy setting
vibrancy_darkness = 0.0 vibrancy_darkness = 0.0 # vibrancy darkness stting
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
#------- general configuraion -----------------------------------------------------------------------------------------------------------------------
general { general {
no_fade_in = false no_fade_in = false # no fade in disabled
grace = 0 grace = 0 # grace
disable_loading_bar = false disable_loading_bar = false # disabling loading bar
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# Profile Photo #--------- profile photo widget configuration -------------------------------------------------------------------------------------------------------
image { image {
monitor = monitor = # show on all monitors
path = ~/dotfiles/hypr/pictures/user.jpeg path = ~/dotfiles/hypr/pictures/user.jpeg # image to show
border_size = 2 border_size = 2 # border size
border_color = rgba(255, 255, 255, 0) border_color = rgba(255, 255, 255, 0) # border color
size = 130 size = 130 # size
rounding = -1 rounding = -1 # rounding
rotate = 0 rotate = 0 # rotating
reload_time = -1 reload_time = -1 # reload timing
reload_cmd = reload_cmd = # reload command
position = 0, 40 position = 0, 40 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# Day Month Date #----------- Day Month Date widget configuration ----------------------------------------------------------------------------------------------------
#------ date widget configuration -------------------------------------------------------------------------------------------------------------------
label { label {
monitor = monitor = # show on all monitors
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%A %d %B %Y")</span>" text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%A %d %B %Y")</span>" # text to show
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0) # color
font_size = 25 font_size = 25 # font size
font_family = SF Pro Display Bold font_family = SF Pro Display Bold # font
position = 0, 350 position = 0, 350 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# Time #-------- Time widget configuration -----------------------------------------------------------------------------------------------------------------
label { label {
monitor = monitor = # show on all monitors
text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%H:%M")</span>" text = cmd[update:1000] echo "<span foreground='##ffffff'>$(date +"%H:%M")</span>" # text to show
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0) # color
font_size = 120 font_size = 120 # font size
font_family = SF Pro Display Bold font_family = SF Pro Display Bold # font
position = 0, 250 position = 0, 250 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# User Box #--------- username and icon in box configuration ---------------------------------------------------------------------------------------------------
#------- User Box widget configuration --------------------------------------------------------------------------------------------------------------
shape { shape {
monitor = monitor = # show on all monitors
size = 300, 60 size = 300, 60 # size
color = rgba(255, 255, 255, .1) color = rgba(255, 255, 255, .1) # color
rounding = -1 rounding = -1 # rounding
border_size = 0 border_size = 0 # border size
border_color = rgba(253, 198, 135, 0) border_color = rgba(253, 198, 135, 0) # border color
rotate = 0 rotate = 0 # rotation
xray = false # if true, make a "hole" in thej background (rectangle of specified size, no rotation) xray = false # if true, make a "hole" in thej background (rectangle of specified size, no rotation)
position = 0, -130 position = 0, -130 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# User #------ User label configuration --------------------------------------------------------------------------------------------------------------------
label { label {
monitor = monitor = # show on all monitors
text =  $USER text =  $USER # text to show
color = rgba(216, 222, 233, 0.80) color = rgba(216, 222, 233, 0.80) # color
outline_thickness = 2 #outline_thickness = 2 # outline
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8 #dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.2 # Scale of dots absolute size, 0.0 - 1.0 #dots_spacing = 0.2 # Scale of dots absolute size, 0.0 - 1.0
dots_center = true #dots_center = true # dots in center
font_size = 18 font_size = 18 # font size
font_family = SF Pro Display Bold font_family = SF Pro Display Bold # font
position = 0, -130 position = 0, -130 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
#----------------------------------------------------------------------------------------------------------------------------------------------------
#--------- input for password widget configuration --------------------------------------------------------------------------------------------------
input-field { input-field {
monitor = monitor = # show on all monitors
size = 300, 60 size = 300, 60 # size
outline_thickness = 2 outline_thickness = 2 # outline
dots_size = 0.2 dots_size = 0.2 # scale of input field height
dots_spacing = 0.2 dots_spacing = 0.2 # scale of dots absolute size
dots_center = true dots_center = true # dots in center
outer_color = rgba(0, 0, 0, 0) outer_color = rgba(0, 0, 0, 0) # outer color
inner_color = rgba(255, 255, 255, 0.1) inner_color = rgba(255, 255, 255, 0.1) # inner color
font_color = rgb(200, 200, 200) font_color = rgb(200, 200, 200) # font color
fade_on_empty = false fade_on_empty = false # fade on empty
font_family = SF Pro Display Bold font_family = SF Pro Display Bold # font
placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i> placeholder_text = <i><span foreground="##ffffff99">Enter Pass</span></i> # text to show
hide_input = false hide_input = false # disable hide
position = 0, -210 position = 0, -210 # position
halign = center halign = center # horizontal align
valign = center valign = center # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
#------ song label widget configuration -------------------------------------------------------------------------------------------------------------
label { label {
monitor = monitor = # show on all monitors
text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/songdetail.sh)" text = cmd[update:1000] echo "$(~/dotfiles/hypr/bin/songdetail.sh)" # text to show
color = rgba(255, 255, 255, 0.6) color = rgba(255, 255, 255, 0.6) # color
font_size = 18 font_size = 18 # font size
font_family = JetBrains Mono Nerd, SF Pro Display Bold font_family = JetBrains Mono Nerd, SF Pro Display Bold # font
position = 0, 50 position = 0, 50 # position
halign = center halign = center # horizontail align
valign = bottom valign = bottom # vertical align
} }
#----------------------------------------------------------------------------------------------------------------------------------------------------
# ------------------------------------------------------ #----------------------------------------------------------------------------------------------------------------------------------------------------
+4 -2
View File
@@ -1,2 +1,4 @@
preload = ~/Pictures/wallpaper/astronaut_jellyfish.jpg #--------- hyprpaper configuration ------------------------------------------------------
wallpaper = , ~/Pictures/wallpaper/astronaut_jellyfish.jpg preload = ~/Pictures/wallpaper/astronaut_jellyfish.jpg # hyprpaper preload wallpaper
wallpaper = , ~/Pictures/wallpaper/astronaut_jellyfish.jpg # hyprpaper default wallpaper
#----------------------------------------------------------------------------------------
+142 -161
View File
@@ -1,174 +1,155 @@
#-------------------------- keybinds ------------------------------ #-------------------------- keybinds ----------------------------------------------------------------------------------------------------------------
#--- modkey -----------------------------------------------------------------------------------------------------------------------------------------
#--- modkey --- $mainMod = ALT # main modificatior key
$mainMod = ALT #----------------------------------------------------------------------------------------------------------------------------------------------------
#-------------- #---------------- applications ----------------------------------------------------------------------------------------------------------------------
bind = $mainMod, Return, exec, $terminal # open default terminal
#---------------- applications --------------------- bind = $mainMod, T, exec, $fileManager # open default file manager
bind = $mainMod, Return, exec, $terminal # open default terminal bind = $mainMod, D, exec, $menu # open applications menu
bind = $mainMod, T, exec, $fileManager # open default file manager bind = , XF86LaunchB, exec, $menu # open applications menu
bind = $mainMod, D, exec, $menu # open applications menu bind = $mainMod, B, exec, $locker # open locker
bind = , XF86LaunchB, exec, $menu # open applications menu bind = $mainMod, G, exec, $browser # open default browser
bind = $mainMod, B, exec, $locker # open locker bind = $mainMod SHIFT, F, exec, firefox # open firefox
bind = $mainMod, G, exec, $browser # open default browser bind = $mainMod, A, exec, telegram-desktop # open telegram
bind = $mainMod SHIFT, F, exec, firefox # open firefox bind = $mainMod, P, exec, $dashboard # open dashboard
bind = $mainMod, A, exec, telegram-desktop # open telegram bind = $mainMod, C, exec, $clipboard # open clipboard
bind = $mainMod, P, exec, $dashboard # open dashboard bind = $mainMod SHIFT, P, exec, $powermenu # open powermenu
bind = $mainMod, C, exec, $clipboard # open clipboard bind = $mainMod SHIFT, O, exec, $onscreenkeyboard # open onscreenkeyboard
bind = $mainMod SHIFT, P, exec, $powermenu # open powermenu bind = $mainMod, S, exec, spotify-launcher # open spotify
bind = $mainMod SHIFT, O, exec, $onscreenkeyboard # open onscreenkeyboard bind = $mainMod, Y, exec, $calculator # open calculator
bind = $mainMod, S, exec, spotify-launcher # open spotify bind = $mainMod, E, exec, $emojipicker # open emojipicker
bind = $mainMod, Y, exec, $calculator # open calculator bind = $mainMod, Z, exec, swaync-client -t # toggle swaync
bind = $mainMod, E, exec, $emojipicker # open emojipicker bind = $mainMod SHIFT, R, exec, swaync-client -R # reload swaync configuration
bind = $mainMod, Z, exec, swaync-client -t # toggle swaync bind = $mainMod, U, exec, ~/dotfiles/hypr/bin/startupdate.sh # start upgrade system
bind = $mainMod SHIFT, R, exec, swaync-client -R # reload swaync configuration bind = $mainMod, O, exec, code ~/dotfiles # open vscode to edit configuration directory
bind = $mainMod, U, exec, ~/dotfiles/hypr/bin/startupdate.sh # start upgrade system bind = $mainMod SHIFT, A, exec, hyprwall # run hyprwall application
bind = $mainMod, O, exec, code ~/dotfiles # open vscode to edit configuration directory bind = $mainMod SHIFT, G, exec, hyprgui # run hyprgui application
bind = $mainMod SHIFT, A, exec, hyprwall # run hyprwall application #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, G, exec, hyprgui # run hyprgui application #-------------- windows -----------------------------------------------------------------------------------------------------------------------------
#---------------------------------------------------
#-------------- windows --------------------------
# bind = $mainMod, J, togglesplit, # dwindle # bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, F, fullscreen, # toggle fullscreen window bind = $mainMod, F, fullscreen, # toggle fullscreen window
bind = $mainMod, V, togglefloating, # toggle floating window bind = $mainMod, V, togglefloating, # toggle floating window
bind = $mainMod, Q, killactive, # close window bind = $mainMod, Q, killactive, # close window
#------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
#-------- quit from Hyprland ------------------------------------------------------------------------------------------------------------------------
#-------- quit from Hyprland --------- bind = $mainMod SHIFT, E, exit, # exit from hyprland
bind = $mainMod SHIFT, E, exit, # exit from hyprland #----------------------------------------------------------------------------------------------------------------------------------------------------
#------------------------------------- #---------------- screenshot ------------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard
#---------------- screenshot ----------------------------------------
bind = $mainMod SHIFT, C, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard
bind = $mainMod, P, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y%m%d-%H%M%S).png # get screenshot and save to screenshot directory bind = $mainMod, P, exec, grim -g "$(slurp)" ~/Pictures/Screenshots/$(date +%Y%m%d-%H%M%S).png # get screenshot and save to screenshot directory
bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard bind = , Print, exec, grim -g "$(slurp -d)" - | wl-copy # get screenshot and copy to clipboard
#-------------------------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
#--------------- pamixer ----------------------------------------------------------------------------------------------------------------------------
#--------------- pamixer --------------------
# bind = $mainMod, equal, exec, pamixer -i 10 # bind = $mainMod, equal, exec, pamixer -i 10
# bind = $mainMod, minus, exec, pamixer -d 10 # bind = $mainMod, minus, exec, pamixer -d 10
# bind = $mainMod SHIFT, M, exec, pamixer -t # bind = $mainMod SHIFT, M, exec, pamixer -t
bind = $mainMod, equal, exec, swayosd-client --output-volume raise # raise volume bind = $mainMod, equal, exec, swayosd-client --output-volume raise # raise volume
bind = $mainMod, minus, exec, swayosd-client --output-volume lower # lower volume bind = $mainMod, minus, exec, swayosd-client --output-volume lower # lower volume
bind = $mainMod SHIFT, M, exec, swayosd-client --output-volume mute-toggle # toggle mute volume bind = $mainMod SHIFT, M, exec, swayosd-client --output-volume mute-toggle # toggle mute volume
#------------------- for xf86AudioVolumes ----------- #------------------- for xf86AudioVolumes -----------------------------------------------------------------------------------------------------------
# bind = , XF86AudioLowerVolume, exec, pamixer -d 5 # bind = , XF86AudioLowerVolume, exec, pamixer -d 5
# bind = , XF86AudioRaiseVolume, exec, pamixer -i 5 # bind = , XF86AudioRaiseVolume, exec, pamixer -i 5
# bind = , XF86AudioMicMute, exec, pamixer --default-source -m # bind = , XF86AudioMicMute, exec, pamixer --default-source -m
# bind = , XF86AudioMute, exec, pamixer -t # bind = , XF86AudioMute, exec, pamixer -t
bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower # lower volume bind = , XF86AudioLowerVolume, exec, swayosd-client --output-volume lower # lower volume
bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise # raise volume bind = , XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise # raise volume
bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle # toggle mute mic bind = , XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle # toggle mute mic
bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # toggle mute volume bind = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle # toggle mute volume
bind = , XF86AudioPlay, exec, playerctl play-pause # play pause music
bind = , XF86AudioPlay, exec, playerctl play-pause # play pause music bind = , XF86AudioPause, exec, playerctl play-pause # play pause music
bind = , XF86AudioPause, exec, playerctl play-pause # play pause music bind = , XF86AudioNext, exec, playerctl next # next song player
bind = , XF86AudioNext, exec, playerctl next # next song player bind = , XF86AudioPrev, exec, playerctl previous # previous song player
bind = , XF86AudioPrev, exec, playerctl previous # previous song player bind = $mainMod, bracketleft, exec, playerctl previous # previous song player
bind = $mainMod, bracketright, exec, playerctl next # next song player
bind = $mainMod, bracketleft, exec, playerctl previous # previous song player bind = $mainMod, backslash, exec, playerctl play-pause # play pause music
bind = $mainMod, bracketright, exec, playerctl next # next song player #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod, backslash, exec, playerctl play-pause # play pause music #----------------------------------------------------------------------------------------------------------------------------------------------------
#---------------------------------------------------- #--------------- playerctl --------------------------------------------------------------------------------------------------------------------------
#-------------------------------------------- bind = $mainMod, space, exec, playerctl play-pause # play pause music
bind = , Pause, exec, playerctl play-pause # play puse music
#--------------- playerctl --------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod, space, exec, playerctl play-pause # play pause music #------------------ brightness ----------------------------------------------------------------------------------------------------------------------
bind = , Pause, exec, playerctl play-pause # play puse music
#-----------------------------------------------------
#------------------ brightness ----------------------
# bind = $mainMod SHIFT, minus, exec, brightnessctl s 10%- # bind = $mainMod SHIFT, minus, exec, brightnessctl s 10%-
# bind = $mainMod SHIFT, equal, exec, brightnessctl s 10%+ # bind = $mainMod SHIFT, equal, exec, brightnessctl s 10%+
bind = $mainMod SHIFT, minus, exec, swayosd-client --brightness lower # lower screen brightness bind = $mainMod SHIFT, minus, exec, swayosd-client --brightness lower # lower screen brightness
bind = $mainMod SHIFT, equal, exec, swayosd-client --brightness raise # rause screen brightness bind = $mainMod SHIFT, equal, exec, swayosd-client --brightness raise # rause screen brightness
#------------ for xf86MonBrightness ----------------- #------------ for xf86MonBrightness -----------------------------------------------------------------------------------------------------------------
# bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%- # bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
# bind = , XF86MonBrightnessUp, exec, brightnessctl s 10%+ # bind = , XF86MonBrightnessUp, exec, brightnessctl s 10%+
bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower # lower screen brightness bind = , XF86MonBrightnessDown, exec, swayosd-client --brightness lower # lower screen brightness
bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise # raise screen brightness bind = , XF86MonBrightnessUp, exec, swayosd-client --brightness raise # raise screen brightness
#---------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
#-------------- for XF86KbdBrightness keyboard brightness --------------- #-------------- for XF86KbdBrightness keyboard brightness -------------------------------------------------------------------------------------------
bind = , XF86KbdBrightnessUp, exec, brightnessctl --device smc::kbd_backlight s 10%+ # raise keyboard brightness bind = , XF86KbdBrightnessUp, exec, brightnessctl --device smc::kbd_backlight s 10%+ # raise keyboard brightness
bind = , XF86KbdBrightnessDown, exec, brightnessctl --device smc::kbd_backlight s 10%- # lower keyboard brightness bind = , XF86KbdBrightnessDown, exec, brightnessctl --device smc::kbd_backlight s 10%- # lower keyboard brightness
#------------------------------------------------------------------------ #----------------------------------------------------------------------------------------------------------------------------------------------------
#---------------------------------------------------- #----------------------------------------------------------------------------------------------------------------------------------------------------
#----------------- Move focus -----------------------------------------------------------------------------------------------------------------------
#----------------- Move focus ---------- bind = $mainMod, left, movefocus, l # move focus to left window
bind = $mainMod, left, movefocus, l # move focus to left window bind = $mainMod, right, movefocus, r # move focus to right window
bind = $mainMod, right, movefocus, r # move focus to right window bind = $mainMod, up, movefocus, u # move focus to up window
bind = $mainMod, up, movefocus, u # move focus to up window bind = $mainMod, down, movefocus, d # move focus to down window
bind = $mainMod, down, movefocus, d # move focus to down window bind = $mainMod, J, movefocus, d # move focus to down window
bind = $mainMod, J, movefocus, d # move focus to down window bind = $mainMod, K, movefocus, u # move focus to up window
bind = $mainMod, K, movefocus, u # move focus to up window bind = $mainMod, H, movefocus, l # move focus to left window
bind = $mainMod, H, movefocus, l # move focus to left window bind = $mainMod, L, movefocus, r # move focus to right window
bind = $mainMod, L, movefocus, r # move focus to right window #----------------------------------------------------------------------------------------------------------------------------------------------------
#--------------------------------------- #---- Move windows ----------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, lift, movewindow, l # move window to left
#---- Move windows --------------------------- bind = $mainMod SHIFT, right, movewindow, r # move window to right
bind = $mainMod SHIFT, lift, movewindow, l # move window to left bind = $mainMod SHIFT, up, movewindow, u # move window to up
bind = $mainMod SHIFT, right, movewindow, r # move window to right bind = $mainMod SHIFT, down, movewindow, d # move window to down
bind = $mainMod SHIFT, up, movewindow, u # move window to up bind = $mainMod SHIFT, J, movewindow, d # move window to down
bind = $mainMod SHIFT, down, movewindow, d # move window to down bind = $mainMod SHIFT, K, movewindow, u # move window to up
bind = $mainMod SHIFT, J, movewindow, d # move window to down bind = $mainMod SHIFT, H, movewindow, l # move window to left
bind = $mainMod SHIFT, K, movewindow, u # move window to up bind = $mainMod SHIFT, L, movewindow, r # move window to right
bind = $mainMod SHIFT, H, movewindow, l # move window to left #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, L, movewindow, r # move window to right #--------- Switch workspaces ------------------------------------------------------------------------------------------------------------------------
#--------------------------------------------- bind = $mainMod, 1, workspace, 1 # switch to first workspace
bind = $mainMod, 2, workspace, 2 # switch to second workspace
#--------- Switch workspaces ------------------------- bind = $mainMod, 3, workspace, 3 # switch to third workspace
bind = $mainMod, 1, workspace, 1 # switch to first workspace bind = $mainMod, 4, workspace, 4 # switch to fourth workspace
bind = $mainMod, 2, workspace, 2 # switch to second workspace bind = $mainMod, 5, workspace, 5 # switch to fifth workspace
bind = $mainMod, 3, workspace, 3 # switch to third workspace bind = $mainMod, 6, workspace, 6 # switch to sixth workspace
bind = $mainMod, 4, workspace, 4 # switch to fourth workspace bind = $mainMod, 7, workspace, 7 # switch to seventh workspace
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 8, workspace, 8 # switch to eighth workspace
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 9, workspace, 9 # switch to nineth workspace
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 0, workspace, 10 # switch to tenth workspace
bind = $mainMod, 8, workspace, 8 bind = $mainMod, mouse_down, workspace, e+1 # switch to next workspace
bind = $mainMod, 9, workspace, 9 bind = $mainMod, mouse_up, workspace, e-1 # switch to prev workspace
bind = $mainMod, 0, workspace, 10 bind = Control_L $mainMod, Right, workspace, e+1 # switch to next workspace
bind = Control_L $mainMod, Left, workspace, e-1 # switch to prev workspace
bind = $mainMod, mouse_down, workspace, e+1 #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod, mouse_up, workspace, e-1 #------------- Move active window to a workspace ----------------------------------------------------------------------------------------------------
bind = Control_L $mainMod, Right, workspace, e+1 bind = $mainMod SHIFT, 1, movetoworkspace, 1 # move window to workspace
bind = Control_L $mainMod, Left, workspace, e-1 bind = $mainMod SHIFT, 2, movetoworkspace, 2 # move window to workspace
#----------------------------------------------------- bind = $mainMod SHIFT, 3, movetoworkspace, 3 # move window to workspace
bind = $mainMod SHIFT, 4, movetoworkspace, 4 # move window to workspace
#------------- Move active window to a workspace --- bind = $mainMod SHIFT, 5, movetoworkspace, 5 # move window to workspace
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 6, movetoworkspace, 6 # move window to workspace
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 7, movetoworkspace, 7 # move window to workspace
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 8, movetoworkspace, 8 # move window to workspace
bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 9, movetoworkspace, 9 # move window to workspace
bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # move window to workspace
bind = $mainMod SHIFT, 6, movetoworkspace, 6 #----------------------------------------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, 7, movetoworkspace, 7 #------------ Move/resize windows -------------------------------------------------------------------------------------------------------------------
bind = $mainMod SHIFT, 8, movetoworkspace, 8 bindm = $mainMod, mouse:272, movewindow # move window by mouse
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bindm = $mainMod, mouse:273, resizewindow # resize window by mouse
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind=$mainMod, R, submap, resize # resize window by keyboard
#--------------------------------------------------- submap=resize # submap for resize window
binde= , H, resizeactive, -30 0 # resize to right
#------------ Move/resize windows ---------- binde= , L, resizeactive, 30 0 # resize to left
bindm = $mainMod, mouse:272, movewindow binde= , J, resizeactive, 0 -30 # resize to downn
bindm = $mainMod, mouse:273, resizewindow binde= , K, resizeactive, 0 30 # resize to up
binde= , left, resizeactive, -30 0 # resize to left
bind=$mainMod, R, submap, resize binde= , right, resizeactive, 30 0 # resize to right
submap=resize binde= , up, resizeactive, 0 -30 # resize to up
binde= , H, resizeactive, -30 0 binde= , down, resizeactive, 0 30 # resize to down
binde= , L, resizeactive, 30 0 bind= , escape, submap, reset # escape submap for resize window
binde= , J, resizeactive, 0 -30 submap=reset # reset submap for resize window
binde= , K, resizeactive, 0 30 #----------------------------------------------------------------------------------------------------------------------------------------------------
binde= , left, resizeactive, -30 0 #-------------- special workspace (scratchpad) ------------------------------------------------------------------------------------------------------
binde= , right, resizeactive, 30 0 bind = $mainMod, W, togglespecialworkspace, magic # toggle scratchpad special workspace
binde= , up, resizeactive, 0 -30 bind = $mainMod SHIFT, W, movetoworkspace, special:magic # move window to scratchpad special workspace
binde= , down, resizeactive, 0 30 #----------------------------------------------------------------------------------------------------------------------------------------------------
bind= , escape, submap, reset #----------------------------------------------------------------------------------------------------------------------------------------------------
submap=reset
#-------------------------------------------
#-------------- special workspace (scratchpad) ---------------
bind = $mainMod, W, togglespecialworkspace, magic
bind = $mainMod SHIFT, W, movetoworkspace, special:magic
#-------------------------------------------------------------
#------------------------------------------------------------------
+13 -15
View File
@@ -1,22 +1,20 @@
# --------------- keyboard ----------------------- # --------------- keyboard --------------------------------------------------------------
input { input {
kb_layout = us,ru kb_layout = us,ru # keyboard layouts
kb_variant = kb_variant = # keyboard variant
kb_model = kb_model = # keyboard model
kb_options = grp:win_space_toggle kb_options = grp:win_space_toggle # keyboard change layout hotkey
kb_rules = kb_rules = # keyboard rules
follow_mouse = 1 follow_mouse = 1
#------- touchpad configuration ---------------------------------------------------------
touchpad { touchpad {
disable_while_typing = true disable_while_typing = true # disable touchpad when typing on keyboard
natural_scroll = true natural_scroll = true # natural scroll on touchpad
scroll_factor = 0.2 scroll_factor = 0.2 # scrolling speed
} }
#----------------------------------------------------------------------------------------
repeat_rate = 50 repeat_rate = 50
repeat_delay = 500 repeat_delay = 500
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
# ------------------------------------------------ # ---------------------------------------------------------------------------------------
+5 -5
View File
@@ -1,6 +1,6 @@
#-------- monitors ------------ #-------- monitors ------------------------------------------------------------
monitor=,preferred,auto,auto monitor=,preferred,auto,auto # for all monitor to autodetect
monitor=DVI-I-1,1920x1200,0x0,1 monitor=DVI-I-1,1920x1200,0x0,1 # for lisa's home viewsonic monitor
monitor=HEADLESS-2,2048x1538,0x0,2 monitor=HEADLESS-2,2048x1538,0x0,2 # for headless virtual monitor
#------------------------------ #------------------------------------------------------------------------------
+12 -12
View File
@@ -1,12 +1,12 @@
#---------------- programs -------------------------------------- #---------------- programs ------------------------------------------------------------------------
$powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh $powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh # default powermenu
$terminal = kitty $terminal = kitty # default terminal
$fileManager = thunar $fileManager = thunar # default file manager
$menu = ~/dotfiles/rofi/launcher/launcher.sh $menu = ~/dotfiles/rofi/launcher/launcher.sh # default application launcher
$locker = ~/dotfiles/hypr/bin/hyprlock-background.sh $locker = ~/dotfiles/hypr/bin/hyprlock-background.sh # default locker
$browser = google-chrome-stable $browser = google-chrome-stable # default browser
$clipboard = ~/dotfiles/rofi/clipboard/clipboard.sh $clipboard = ~/dotfiles/rofi/clipboard/clipboard.sh # default clipboard
$emojipicker = ~/dotfiles/rofi/emoji/rofimoji.sh $emojipicker = ~/dotfiles/rofi/emoji/rofimoji.sh # default emojipicker
$onscreenkeyboard = ~/dotfiles/hypr/bin/toggle_keyboard.sh $onscreenkeyboard = ~/dotfiles/hypr/bin/toggle_keyboard.sh # onscreenkeyboard
$calculator = gnome-calculator $calculator = gnome-calculator # default calculator
#---------------------------------------------------------------- #--------------------------------------------------------------------------------------------------
+31 -36
View File
@@ -1,36 +1,31 @@
#---------- on startup ------------------------------------------------------------ #---------- on startup ------------------------------------------------------------------------------------------------------------------------------
#----------- wallpaper ------------------------------------------------------------------------------------------------------------------------------
#----------- wallpaper ----------------- exec-once = hyprpaper # run wallpaper engine
exec-once = hyprpaper exec-once = ~/dotfiles/hypr/bin/background.sh # run background wallpaper
exec-once = ~/dotfiles/hypr/bin/background.sh #exec-once = ags # run ags (gtk shell)
#exec-once = ags exec-once = waybar -c ~/dotfiles/waybar/config # run waybar (status bar)
exec-once = waybar -c ~/dotfiles/waybar/config #exec-once = swww init # run swww (wallpaper engine)
#exec-once = swww init #exec-once = ~/dotfiles/background-swww.sh # run background wallpaper with swww engine
#exec-once = ~/dotfiles/background-swww.sh #----------------------------------------------------------------------------------------------------------------------------------------------------
#--------------------------------------- #-------- polkit ------------------------------------------------------------------------------------------------------------------------------------
exec-once = lxpolkit # run auth engine
#-------- polkit ------ #----------------------------------------------------------------------------------------------------------------------------------------------------
exec-once = lxpolkit #------------------------------ GTK settings --------------------------------------------------------------------------------------------------------
#---------------------- exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' # set up
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' # setup prefer dark or white theme
#------------------------------ GTK settings ------------------------------------ exec-once = gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark' # setup gnome icon theme
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice' # setup gnome cursor theme
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' #------------------------------ GTK settings --------------------------------------------------------------------------------------------------------
exec-once = gsettings set org.gnome.desktop.interface icon-theme 'Papirus-Dark' #-------------------------- XDG settings ------------------------------------------------------------------------------------------------------------
exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice' exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # environment for systemd
#------------------------------ GTK settings ------------------------------------ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # environment for dbus
#----------------------------------------------------------------------------------------------------------------------------------------------------
#-------------------------- XDG settings -------------------------------------------------------- exec-once = swaync # run swaync notification center
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # exec-once = ~/dotfiles/ags/notification-popups/start_notification_service # run ags notifucations service
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # exec-once = mako # run mako notification service
#------------------------------------------------------------------------------------------------ exec-once = nm-applet --indicator # run network manager applet
exec-once = greenclip daemon # run clipboard daemon
exec-once = swaync exec-once = uxplay # run airplay ser vice daemon
# exec-once = ~/dotfiles/ags/notification-popups/start_notification_service exec-once = hypridle # run idle daemon
# exec-once = mako exec-once = swayosd-server # run osd server daemon
exec-once = nm-applet --indicator #-----------------------------------------------------------------------------------------------------------------------------------------------------
exec-once = greenclip daemon
exec-once = uxplay
exec-once = hypridle
exec-once = swayosd-server
#----------------------------------------------------------------------------------
+34 -39
View File
@@ -1,39 +1,34 @@
#------------------- windowrules -------------------------------------------------- #------------------- windowrules --------------------------------------------------------------------------------------------------------------------
#---------------------- float -----------------------------------------------------------------------------------------------------------------------
#---------------------- float --------------------------------------------------- windowrulev2 = float, title: Properties # floating for properties windows
windowrulev2 = float, title: Properties windowrulev2 = float, class: ^(thunar)$, title: ^(File Operation Progress)$ # floating for thunar file operations window
windowrulev2 = float, class: ^(thunar)$, title: ^(File Operation Progress)$ windowrulev2 = float, class: ^(thunar)$, title: ^(Confirm to replace files)$ # floating for thunar confirm dialog window
windowrulev2 = float, class: ^(thunar)$, title: ^(Confirm to replace files)$ windowrule = float, org.pulseaudio.pavucontrol # floating for pulseaudio volume control window
windowrule = float, org.pulseaudio.pavucontrol windowrule = float, ^(nm-connection-editor)$ # floating for network manager connection editor window
windowrule = float, ^(nm-connection-editor)$ windowrule = float, ^(GParted)$ # floating for gparted window
windowrule = float, ^(GParted)$ windowrule = float, startapp # floating for startup window
windowrule = float, startapp windowrule = float, virtualbox # floating for virtualbox window
windowrule = float, virtualbox windowrule = float, Bubbletime # floating for bubbletime window
windowrule = float, Bubbletime windowrule = float, Calculator # floating for calculator window
windowrule = float, Calculator windowrule = float, hyprwall # floating for hyprwall window
windowrule = float, hyprwall windowrule = float, hyprgui # floating for hyprgui window
windowrule = float, hyprgui #----------------------------------------------------------------------------------------------------------------------------------------------------
#-------------------------------------------------------------------------------- #--------------- opacity ----------------------------------------------------------------------------------------------------------------------------
windowrule = opacity 0.90, sublime # opacity for sublime-text window
#--------------- opacity --------------------------------- windowrule = opacity 0.90, firefox # opacity for firefox window
windowrule = opacity 0.90, sublime windowrule = opacity 0.9, thunar # opacity for thunar window
windowrule = opacity 0.90, firefox windowrule = opacity 0.8, foot # opacity for foot window
windowrule = opacity 0.9, thunar windowrulev2 = opacity 0.80 0.80, class:^(org.telegram.desktop)$ # opecitry for telegram window
windowrule = opacity 0.8, foot windowrule = opacity 0.9, balenaEtcher # opacity for etcher window
windowrulev2 = opacity 0.80 0.80, class:^(org.telegram.desktop)$ windowrule = opacity 0.95, planify # opacity for planify window
windowrule = opacity 0.9, balenaEtcher windowrule = opacity 0.9, kitty # opacity for kitty window
windowrule = opacity 0.95, planify windowrulev2 = opacity 1, class: ^(Google-chrome)$ # opacity for google-chrome window
windowrule = opacity 0.9, kitty #----------------------------------------------------------------------------------------------------------------------------------------------------
windowrulev2 = opacity 1, class: ^(Google-chrome)$ #---------------- workspace -------------------------------------------------------------------------------------------------------------------------
#--------------------------------------------------------- windowrule = workspace 2, firefox # firefox only on second workspace
#windowrulev2 = workspace 2, class: ^(Google-chrome)$ # google-chrome only on second workspace
#---------------- workspace ------------------------------ #----------------------------------------------------------------------------------------------------------------------------------------------------
windowrule = workspace 2, firefox layerrule = animation popin, rofi # animation rule for rofi
#windowrulev2 = workspace 2, class: ^(Google-chrome)$ layerrule = animation slide right, swaync # animation rule for sway notification center
#--------------------------------------------------------- layerrule = animation slide top, ags # animation rule for gtk shell
#----------------------------------------------------------------------------------------------------------------------------------------------------
layerrule = animation popin, rofi
layerrule = animation slide right, swaync
layerrule = animation slide top, ags
#----------------------------------------------------------------------------------