From edd92c39e2ea06c62a187237e267fa06c3a0c831 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Thu, 17 Jul 2025 16:33:49 +0700 Subject: [PATCH] deleted comments --- .gitignore | 1 - hypr/animation.conf | 5 +--- hypr/decoration.conf | 16 ++++------- hypr/environment.conf | 23 +++++---------- hypr/hyprclock.conf | 9 ------ hypr/hyprgrass.conf | 6 ---- hypr/hypridle.conf | 22 +++++---------- hypr/hyprland.conf | 65 +++++++++++++++---------------------------- hypr/hyprlock.conf | 10 ++----- hypr/hyprpaper.conf | 6 ++-- hypr/keyboard.conf | 22 ++++++--------- hypr/monitors.conf | 11 ++------ hypr/programs.conf | 22 +++++++-------- hypr/startup.conf | 48 +++++++++++--------------------- hypr/windowrules.conf | 26 +++++------------ 15 files changed, 93 insertions(+), 199 deletions(-) delete mode 100644 hypr/hyprclock.conf delete mode 100644 hypr/hyprgrass.conf diff --git a/.gitignore b/.gitignore index a0fa313..bf1395c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ paru *.o *dwm -*hyprlock.conf diff --git a/hypr/animation.conf b/hypr/animation.conf index 6b18097..fb371ee 100644 --- a/hypr/animation.conf +++ b/hypr/animation.conf @@ -1,7 +1,5 @@ - -#--------- animations --------------------------------------- animations { - enabled = true # enabling animations + enabled = true first_launch_animation = true bezier = myBezier, 0.4, 0, 0.2, 1 animation = windows, 1, 2.5, myBezier, popin 80% @@ -9,4 +7,3 @@ animations { animation = fade, 1, 2.5, myBezier animation = workspaces, 1, 2.5, myBezier, slidefade 20% } -#------------------------------------------------------------ diff --git a/hypr/decoration.conf b/hypr/decoration.conf index dae6633..8a1b219 100644 --- a/hypr/decoration.conf +++ b/hypr/decoration.conf @@ -1,15 +1,11 @@ -#-------- decorations ------------------------------------- decoration { - rounding = 10 # rounding corners - dim_inactive = false # dimming inactive windows -#--- blur settings ---------------------------------------- + rounding = 10 + dim_inactive = false blur { - enabled = true # blur enabled - size = 10 # blur size - passes = 1 # blur passes - vibrancy = 0.1696 # blur vibrancy + enabled = true + size = 10 + passes = 1 + vibrancy = 0.1696 } -#---------------------------------------------------------- } -#---------------------------------------------------------- diff --git a/hypr/environment.conf b/hypr/environment.conf index ddd99a4..5bdd0c2 100644 --- a/hypr/environment.conf +++ b/hypr/environment.conf @@ -1,17 +1,8 @@ -#------------- default env vars --------------------------------------------------------- -#------------- QT ----------------------------------------------------------------------- -env = QT_QPA_PLATFORMTHEME,qt6ct # 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,Colloid-Dark # setting up gtk theme -env = GTK2_RC_FILES,/home/tola/dotfiles/gtk-2.0/gtkrc # setting up gtk2 theme +env = QT_QPA_PLATFORMTHEME,qt6ct +env = QT_QPA_PLATFORM,wayland +env = QT_SCALE_FACTOR,1 +env = GTK_THEME,Colloid-Dark +env = GTK2_RC_FILES,/home/tola/dotfiles/gtk-2.0/gtkrc env = XDG_DATA_DIRS,/var/lib/flatpak/exports/share:/home/tola/.local/share/flatpak/exports/share:/usr/share -#---------------------------------------------------------------------------------------- -#-------------------- hyprcursor -------------------------------------------------------- -env = HYPRCURSOR_THEME,Bibata-Modern-Ice # settings up hyprcursor theme -env = HYPRCURSOR_SIZE,24 # setting up hyprcursor size -#---------------------------------------------------------------------------------------- -#---------------------------------------------------------------------------------------- - +env = HYPRCURSOR_THEME,Bibata-Modern-Ice +env = HYPRCURSOR_SIZE,24 diff --git a/hypr/hyprclock.conf b/hypr/hyprclock.conf deleted file mode 100644 index 7f875a2..0000000 --- a/hypr/hyprclock.conf +++ /dev/null @@ -1,9 +0,0 @@ -[General] -clock_format = "24-hour" - -[Theme] -theme = "Adwaita-dark" - -[Animation] -blur_enabled = true -fade_in_enabled = true diff --git a/hypr/hyprgrass.conf b/hypr/hyprgrass.conf deleted file mode 100644 index 446ca2e..0000000 --- a/hypr/hyprgrass.conf +++ /dev/null @@ -1,6 +0,0 @@ -#----- hyprgrass gestures configurations ---------------------------- -plugin:touch_gestures { - hyprgrass-bind = , swipe:3:d, killactive # kill active window - hyprgrass-bind = , tap:3, exec, kitty # open kitty terminal -} -#-------------------------------------------------------------------- diff --git a/hypr/hypridle.conf b/hypr/hypridle.conf index b69ef4e..a015446 100644 --- a/hypr/hypridle.conf +++ b/hypr/hypridle.conf @@ -1,31 +1,23 @@ -#-------- hypridle configuration -------------------------------------------------------- -#----- general configuration ------------------------------------------------------------ general { - lock_cmd = pidof hyprlock || hyprlock # lock command - before_sleep_cmd = loginctl lock-session # before sleep command is lock-session + lock_cmd = pidof hyprlock || hyprlock + before_sleep_cmd = loginctl lock-session after_sleep_cmd = hyprctl dispatch dpms on } -#---------------------------------------------------------------------------------------- listener { timeout = 150 on-timeout = brightnesctl -s set 10 on-resume = brightnesctl -r } -#----- listener 600 seconds(10 minutes) ------------------------------------------------- listener { - timeout = 6000 # timeout - on-timeout = loginctl lock-session # command when timeout + timeout = 6000 + on-timeout = loginctl lock-session } -#---------------------------------------------------------------------------------------- -#------ listener 7200 seconds(2 hours) -------------------------------------------------- listener { - timeout = 7200 # timeout - on-timeout = hyprctl dispatch dpms off # command when timeout - on-resume = hyprctl dispatch dpms on # command when timeout + timeout = 7200 + on-timeout = hyprctl dispatch dpms off + on-resume = hyprctl dispatch dpms on } -#---------------------------------------------------------------------------------------- listener { timeout = 8000 on-timeout = systemctl suspend } -#---------------------------------------------------------------------------------------- diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 80ca6d7..a233114 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -1,57 +1,36 @@ -#------------ Hypland config created by Anatoly Mironcenko ------------------------------------------------------------ -#------------ include some configuration files ------------------------------------------------------------------------ -source=~/dotfiles/hypr/programs.conf # import programs configuration -source=~/dotfiles/hypr/keybinds.conf # import keybinds configuration -source=~/dotfiles/hypr/hyprgrass.conf # import hyprgrass configuration -source=~/dotfiles/hypr/windowrules.conf # import windowrules configuration -source=~/dotfiles/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 ----------------------------------------------------------------------------------------- +source=~/dotfiles/hypr/programs.conf +source=~/dotfiles/hypr/keybinds.conf +source=~/dotfiles/hypr/windowrules.conf +source=~/dotfiles/hypr/startup.conf +source=~/dotfiles/hypr/monitors.conf +source=~/dotfiles/hypr/environment.conf +source=~/dotfiles/hypr/keyboard.conf general { - 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 + 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 } -#---------------------------------------------------------------------------------------------------------------------- -#------------ include some configuration files ------------------------------------------------------------------------ -source=~/dotfiles/hypr/decoration.conf # import decoration configuration -source=~/dotfiles/hypr/animation.conf # import animation configuration -#---------------------------------------------------------------------------------------------------------------------- +source=~/dotfiles/hypr/decoration.conf +source=~/dotfiles/hypr/animation.conf dwindle { pseudotile = false - preserve_split = true # you probably want this + preserve_split = true } -#--------- gestures configuration ------------------------------------------------------------------------------------- gestures { - workspace_swipe = true # enabling swipne workspaces with gestures - workspace_swipe_fingers = 3 # fingers to swipe - workspace_swipe_distance = 300 # distance to swipe + workspace_swipe = true + workspace_swipe_fingers = 3 + workspace_swipe_distance = 300 } -#---------------------------------------------------------------------------------------------------------------------- - misc { - force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers + force_default_wallpaper = -1 } - debug { damage_tracking = 2 } -#---------- xwayland configuration ------------------------------------------------------------------------------------ xwayland { - force_zero_scaling = true # disable scaling xwayland windows + force_zero_scaling = true } -#---------------------------------------------------------------------------------------------------------------------- -#device:epic-mouse-v1 { -# sensitivity = -0.5 -#} -#---------------------------------------------------------------------------------------------------------------------- - diff --git a/hypr/hyprlock.conf b/hypr/hyprlock.conf index c5fb126..9faee88 100644 --- a/hypr/hyprlock.conf +++ b/hypr/hyprlock.conf @@ -1,5 +1,3 @@ -#--------- hyprlock configuration ------------------------------------------------------------------------------------------------------------------- -#---- backgroung configuration ---------------------------------------------------------------------------------------------------------------------- background { monitor = # show on all monitors path = /home/tola/Pictures/wallpaper/chad_a53fb74bb09b44f5a15cdf00f554ea81.png @@ -12,8 +10,6 @@ background { vibrancy = 0.0 # vibrancy setting vibrancy_darkness = 0.0 # vibrancy darkness stting } -#---------------------------------------------------------------------------------------------------------------------------------------------------- -#------- general configuraion ----------------------------------------------------------------------------------------------------------------------- general { no_fade_in = false # no fade in disabled grace = 0 # grace @@ -64,7 +60,7 @@ label { #--------- username and icon in box configuration --------------------------------------------------------------------------------------------------- #------- User Box widget configuration -------------------------------------------------------------------------------------------------------------- shape { - monitor = # show on all monitors + monitor = # show on all monitors size = 256, 48 # size color = rgba(0, 0, 0, 1) # color rounding = -1 # rounding @@ -96,7 +92,7 @@ label { #---------------------------------------------------------------------------------------------------------------------------------------------------- #--------- input for password widget configuration -------------------------------------------------------------------------------------------------- input-field { - monitor = # show on all monitors + monitor = # show on all monitors size = 256, 48 # size outline_thickness = 0 # outline dots_size = 0.2 # scale of input field height @@ -116,7 +112,7 @@ input-field { #---------------------------------------------------------------------------------------------------------------------------------------------------- #------ song label widget configuration ------------------------------------------------------------------------------------------------------------- label { - monitor = # show on all monitors + 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 diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf index e19243d..5c456f0 100644 --- a/hypr/hyprpaper.conf +++ b/hypr/hyprpaper.conf @@ -1,4 +1,2 @@ -#--------- hyprpaper configuration ------------------------------------------------------ -preload = ~/Pictures/wallpaper/astronaut_jellyfish.jpg # hyprpaper preload wallpaper -wallpaper = , ~/Pictures/wallpaper/astronaut_jellyfish.jpg # hyprpaper default wallpaper -#---------------------------------------------------------------------------------------- +preload = ~/Pictures/wallpaper/astronaut_jellyfish.jpg +wallpaper = , ~/Pictures/wallpaper/astronaut_jellyfish.jpg diff --git a/hypr/keyboard.conf b/hypr/keyboard.conf index 706c8df..5c93f91 100644 --- a/hypr/keyboard.conf +++ b/hypr/keyboard.conf @@ -1,20 +1,16 @@ -# --------------- keyboard -------------------------------------------------------------- input { - 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 + kb_layout = us,ru + kb_variant = + kb_model = + kb_options = grp:win_space_toggle + kb_rules = follow_mouse = 1 -#------- touchpad configuration --------------------------------------------------------- touchpad { - disable_while_typing = true # disable touchpad when typing on keyboard - natural_scroll = true # natural scroll on touchpad - scroll_factor = 0.2 # scrolling speed + disable_while_typing = true + natural_scroll = true + scroll_factor = 0.2 } -#---------------------------------------------------------------------------------------- repeat_rate = 50 repeat_delay = 500 - sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + sensitivity = 0 } -# --------------------------------------------------------------------------------------- diff --git a/hypr/monitors.conf b/hypr/monitors.conf index 0218007..5a5ba24 100644 --- a/hypr/monitors.conf +++ b/hypr/monitors.conf @@ -1,9 +1,4 @@ -#-------- 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 +monitor=,preferred,auto,auto +monitor=DVI-I-1,1920x1200,0x0,1 +monitor=HEADLESS-2,2048x1538,0x0,2 monitor=vnc,1280x720,0x0,1 -#monitor=DP-1,1680x1050@59.88,1440x0,1.0 -#monitor=HDMI-A-1,1440x900@59.9,3120x0,1.0 -#------------------------------------------------------------------------------ - diff --git a/hypr/programs.conf b/hypr/programs.conf index 2e76dcc..ffe8135 100644 --- a/hypr/programs.conf +++ b/hypr/programs.conf @@ -1,13 +1,11 @@ -#---------------- programs ------------------------------------------------------------------------ -$powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh # default powermenu -$terminal = kitty # default terminal -$fileManager = thunar # default file manager -$launcher = ~/dotfiles/rofi/launcher/launcher.sh # default application launcher +$powermenu = ~/dotfiles/rofi/powermenu/powermenu.sh +$terminal = kitty +$fileManager = thunar +$launcher = ~/dotfiles/rofi/launcher/launcher.sh $menu = sherlock -$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 -#-------------------------------------------------------------------------------------------------- +$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 diff --git a/hypr/startup.conf b/hypr/startup.conf index 89f96ac..d2071fe 100644 --- a/hypr/startup.conf +++ b/hypr/startup.conf @@ -1,33 +1,17 @@ -#---------- 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 = hyprpaper +exec-once = ~/dotfiles/hypr/bin/background.sh exec-once = ags run --gtk 3 -#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 'Colloid-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 'Colloid-Dark' # setup gnome icon theme -exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice' # setup gnome cursor theme -exec-once = hyprctl setcursor Bibata-Modern-Ice 24 # setup hyprcursor 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 -#----------------------------------------------------------------------------------------------------------------------------------------------------- +exec-once = lxpolkit +exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'Colloid-Dark' +exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' +exec-once = gsettings set org.gnome.desktop.interface icon-theme 'Colloid-Dark' +exec-once = gsettings set org.gnome.desktop.interface cursor-theme 'Bibata-Modern-Ice' +exec-once = hyprctl setcursor Bibata-Modern-Ice 24 +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 = nm-applet --indicator +exec-once = greenclip daemon +exec-once = uxplay +exec-once = hypridle +exec-once = swayosd-server diff --git a/hypr/windowrules.conf b/hypr/windowrules.conf index c8e4ee5..103e1f1 100644 --- a/hypr/windowrules.conf +++ b/hypr/windowrules.conf @@ -1,22 +1,10 @@ -#------------------- windowrules -------------------------------------------------------------------------------------------------------------------- -#---------------------- float ----------------------------------------------------------------------------------------------------------------------- -windowrule = float, title: Properties # floating for properties windows +windowrule = float, title: Properties windowrule = float, class: nm-connection-editor -windowrule = float, class: thunar, title: File Operation Progress # floating for thunar file operations window -windowrule = float, class: thunar, title: Confirm to replace files # floating for thunar confirm dialog window +windowrule = float, class: thunar, title: File Operation Progress +windowrule = float, class: thunar, title: Confirm to replace files windowrule = float, class: GParted windowrule = float, class: org.pulseaudio.pavucontrol -#---------------------------------------------------------------------------------------------------------------------------------------------------- -#--------------- opacity ---------------------------------------------------------------------------------------------------------------------------- -windowrule = opacity 0.80 0.80, class: org.telegram.desktop # opecitry for telegram window -windowrule = opacity 0.9, class: Google-chrome # opacity for google-chrome window -windowrule = opacity 0.9, class: Code # opacity for visual studio -#---------------------------------------------------------------------------------------------------------------------------------------------------- -#---------------- 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 -layerrule = animations slide top, powermenu -#---------------------------------------------------------------------------------------------------------------------------------------------------- +windowrule = opacity 0.80 0.80, class: org.telegram.desktop +windowrule = opacity 0.9, class: Google-chrome +windowrule = opacity 0.9, class: Code +layerrule = animation popin, rofi