more comments in hyprland configuration

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