Advertisement
bluebyt

hyprland.conf

Mar 14th, 2024
831
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
INI file 14.93 KB | None | 0 0
  1.  
  2. exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  3. exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
  4.  
  5.  
  6. # █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
  7. # █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
  8. monitor=,preferred,auto,auto
  9.  
  10. # █▀▀ ▀▄▀ █▀▀ █▀▀
  11. # ██▄ █░█ ██▄ █▄▄
  12. exec-once = firefox & chromium & nwg-look & ulauncher & pavucontrol & pcmanfm & nautilus & gthumb & catfish & discocss & wezterm & lite-xl % blueman-manager
  13. exec-once = waybar -c  ~/.config/waybar/config.ini -s ~/.config/waybar/style.css
  14. #exec-once = hyprpaper
  15.  
  16. #OSD window
  17. exec-once = swayosd
  18. bind=, XF86AudioRaiseVolume, exec, swayosd --output-volume=raise
  19. bind=, XF86AudioLowerVolume, exec, swayosd --output-volume=lower
  20. bind=, XF86AudioMute, exec, swayosd --output-volume mute-toggle
  21. bind=, release Caps_Lock, exec, swayosd --caps-lock
  22.  
  23. binde=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
  24. bindl=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
  25.  
  26. #Script
  27. #exec-once ="swww init && sleep 2 && swww img ~/Pictures/Nord/fog-1920x1080.jpg"
  28. exec-once = ~/.bin/sww.sh
  29. # exec-once = ~/.config/hypr/wallpapers.sh #Wallpapers Change Script swww
  30. exec-once = ~/.config/hypr/portal.sh
  31. exec-once = ~/.config/hypr/cleanup_after_start.sh
  32. exec-once = ~/.config/scripts/eww-start.sh
  33. #exec-once = eww daemon & eww open sidebar
  34.  
  35. #Apps
  36. exec-once = celluloid $HOME/Documents/playlist.m3u
  37. exec-once = kitty ncmpcpp
  38. exec-once = mpv --playlist=/mnt/media/Videos/Chillout006/my_list.txt &
  39. exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
  40. #exec-once = tilix --geometry=112x110 -a app-new-window -x "weechat"
  41. #exec-once = conky -c $HOME/.conky/grumimosa/Mimosa.conf &> /dev/null &
  42. exec-once = notify-send -a aurora "hello $(whoami)"
  43. exec-once = alacritty -e bashtop
  44. exec-once = thunar /mnt/media/Deviant/Art3/
  45.  
  46. # █▀▀ █▄░█ █░█
  47. # ██▄ █░▀█ ▀▄▀
  48. env = XCURSOR_SIZE,24
  49. env = XDG_SESSION_TYPE = wayland
  50.  
  51. # █ █▄░█ █▀█ █░█ ▀█▀
  52. # █ █░▀█ █▀▀ █▄█ ░█░
  53. input {
  54.     kb_layout = us,ca
  55.     kb_variant = altgr-intl
  56.     kb_model = pc105
  57.     kb_options = grp:alt_shift_toggle
  58.     kb_rules = evdev
  59.     numlock_by_default = true
  60.     follow_mouse = 1
  61.     float_switch_override_focus = 1
  62.     sensitivity = 0
  63. }
  64.  
  65. # █▀▀ █▀▀ █▄░█ █▀▀ █▀█ ▄▀█ █░░
  66. # █▄█ ██▄ █░▀█ ██▄ █▀▄ █▀█ █▄▄
  67. general {
  68.     gaps_in = 5
  69.     gaps_out = 20
  70.     border_size = 3
  71.     col.active_border = rgba(5e81acee) rgba(b48eadee) 45deg  
  72.     col.inactive_border = rgba(595959aa)
  73.     layout = dwindle
  74. }
  75.  
  76. # █▀▄ █▀▀ █▀▀ █▀█ █▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█
  77. # █▄▀ ██▄ █▄▄ █▄█ █▀▄ █▀█ ░█░ █ █▄█ █░▀█
  78.  
  79. decoration {
  80.     rounding = 10
  81.  
  82.     blur {
  83.         enabled = true
  84.         size = 3
  85.         passes = 4
  86.     }
  87.    
  88.     col.shadow=0xff313244
  89.     col.shadow_inactive=0xff313244
  90.     drop_shadow = true
  91.     shadow_range = 50
  92.     shadow_render_power = 4
  93.     shadow_offset = 1, 4
  94.     shadow_scale = 1.0
  95.     col.shadow = rgba(1a1a1aee)
  96. }
  97.  
  98.  
  99. # ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ █▀
  100. # █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ ▄█
  101. animations {
  102.     enabled = true
  103.     bezier = overshot, 0.05, 0.9, 0.1, 1.05
  104.     animation = windows, 1, 7, overshot,slide
  105.     animation = windowsOut, 1, 7, default, popin 80%
  106.     animation = border, 1, 10, default
  107.     animation = borderangle, 1, 8, default, loop
  108.     animation = fade, 1, 7, default
  109.     animation = workspaces, 1, 6, default  
  110. }
  111.  
  112. # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
  113. # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█
  114. dwindle {
  115.     pseudotile = true
  116.     preserve_split = true
  117. }
  118.  
  119. # █▀▄▀█ █ █▀ █▀▀
  120. # █░▀░█ █ ▄█ █▄▄
  121. misc {
  122.   mouse_move_focuses_monitor = false
  123.   focus_on_activate = true
  124.   enable_swallow = true
  125.   swallow_regex = ^(kitty)$
  126. }
  127.  
  128. # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀
  129. # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█
  130. # Example windowrule v1
  131. # windowrule = float, ^(kitty)$
  132. # Example windowrule v2
  133. # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
  134.  
  135. windowrule = float, ^(.*)$
  136.  
  137.  
  138. windowrule = size 900 500, title:(Open File)(.*)$
  139. windowrule = float, title:(Open File)(.*)$
  140. windowrule = move center, title:(Open File)(.*)$
  141.  
  142.  
  143. windowrule=float,org.kde.polkit-kde-authentication-agent-1
  144.  
  145. layerrule = ignorezero,notifications
  146. layerrule = ignorezero, ^(gtk-layer-shell)$
  147.  
  148. windowrule = float,org.gnome.Calculator
  149.  
  150. windowrule = center,^(albert)$
  151. windowrule = forceinput,^(albert)$
  152. windowrule = noborder,albert
  153. windowrule = noblur,albert
  154. windowrule = noshadow,albert
  155. windowrule = nomaxsize,albert
  156.  
  157. windowrule = move 1140 54,gsimplecal
  158.  
  159. windowrule = float,org.kde.kdenlive
  160. windowrule = size 2127 1167,org.kde.kdenlive
  161. windowrule = opacity 0.9 0.9,org.kde.kdenlive
  162. windowrule = move 66 115,org.kde.kdenlive
  163. windowrule = workspace 9 silent,org.kde.kdenlive
  164.  
  165. windowrule = center,ulauncher
  166. windowrule = forceinput,ulauncher
  167. windowrule = noborder,ulauncher
  168. windowrule = noblur,ulauncher
  169. windowrule = noshadow,ulauncher
  170. windowrule = nomaxsize,ulauncher
  171. windowrulev2 = animation slide, class:^(ulauncher)$
  172.  
  173. windowrule = noborder,wofi
  174. windowrule = opacity 0.6 0.6,wofi
  175. windowrulev2 = nomaxsize,class:^(wofi)$
  176.  
  177. windowrule = noborder,Conky
  178. windowrule = noblur,Conky
  179. windowrule = noshadow,Conky
  180. windowrule = float,Conky
  181. windowrulev2 = move 14 49,class:^(Conky)$
  182. windowrule = workspace 1 silent,^(Conky)$
  183. #windowrulev2 = pin,class:^(Conky)$
  184.  
  185. windowrule = float,imv
  186.  
  187. windowrule = workspace 1 silent,^(mpv)$
  188. windowrulev2 = float,class:^(mpv)$
  189. windowrule = move 1426 758,mpv
  190. windowrule = size 768 432,mpv
  191.  
  192. windowrule = workspace 1,^(foot)$
  193. windowrule = float,foot
  194. windowrule = move 456 725 ,foot
  195. windowrule = size 777 520,foot
  196.  
  197. windowrule = float,gucharmap
  198.  
  199. windowrule = workspace 1 silent,^(kitty)$
  200. windowrule = opacity 0.7 0.7,kitty
  201. windowrule = move 1387 133,kitty
  202. windowrule = size 768 513,kitty
  203. windowrule = float,nwg-look
  204. windowrule = workspace 7 silent,nwg-look
  205. windowrule = move 158 730,nwg-look
  206. windowrule = size 1022 580,nwg-look
  207.  
  208. windowrule = float,pavucontrol
  209. windowrule = workspace 7 silent,pavucontrol
  210. windowrule = move 1392 196,pavucontrol
  211. windowrule = size 1067 719,pavucontrol
  212. windowrule = opacity 0.8 0.8,pavucontrol
  213.  
  214. windowrule = float,VSCodium
  215. windowrule = workspace 5 silent,VSCodium
  216. windowrule = move 1325 92,VSCodium
  217. windowrule = size 1175 1291,VSCodium
  218. windowrule = opacity 0.8 0.8,VSCodium
  219.  
  220. windowrule = float,totem
  221. windowrule = size 740 473,totem
  222. windowrule = float,smplayer
  223. windowrule = size 740 473,smplayer
  224.  
  225. windowrule = float,discord
  226. windowrule = size 1784 1212,discord
  227. windowrule = opacity 0.8 0.8,discord
  228. windowrule = move 196 116,discord
  229. windowrule = workspace 4 silent,discord
  230.  
  231. windowrule = workspace 6 silent,^(com.github.rafostar.Clapper)$
  232. windowrule = move 1420 820,com.github.rafostar.Clapper
  233.  
  234. windowrule = workspace 6 silent,^(io.github.celluloid_player.Celluloid)$
  235. windowrule = move 1393 171,io.github.celluloid_player.Celluloid
  236.  
  237. windowrule = workspace 6 silent,^(org.gnome.Nautilus)$
  238. windowrule = move 276 757,org.gnome.Nautilus
  239. windowrule = float,org.gnome.Nautilus
  240. windowrule = opacity 0.8 0.8,org.gnome.Nautilus
  241.  
  242. windowrule = workspace 6 silent,^(pcmanfm)$
  243. windowrule = move 191 703,pcmanfm
  244. windowrule = move 287 69,pcmanfm
  245. windowrule = float,pcmanfm
  246. windowrule = opacity 0.8 0.8,pcmanfm
  247.  
  248. windowrule = workspace 7 silent,^(blueman-manager)$
  249. windowrule = float,blueman-manager
  250. windowrule = opacity 0.8 0.8,blueman-manager
  251.  
  252. windowrule = float,tilix
  253. windowrule = workspace 7 silent,^(tilix)$
  254. windowrule = size 1709 1288,tilix
  255.  
  256. #windowrule = nomaxsize,thunar
  257. windowrule = size 841 528,thunar
  258. windowrule = float,thunar
  259. windowrule = move 448 86,thunar
  260. windowrule = opacity 0.8 0.8,thunar
  261. windowrule = workspace 1 silent,^(thunar)$
  262.  
  263. windowrule = float,Alacritty
  264. windowrule = opacity 0.7 0.7,Alacritty
  265. windowrule = workspace 8 silent,^(Alacritty)$
  266. windowrule = move 328 118,Alacrity
  267. windowrule = size 1825 1189,Alacrity
  268.  
  269. windowrule = float,org.wezfurlong.wezterm
  270. windowrule = size 805 417,org.wezfurlong.wezterm
  271. windowrule = move 463 751,org.wezfurlong.wezterm
  272. windowrule = workspace 1 silent,org.wezfurlong.wezterm
  273.  
  274. windowrule = move 325 82,firefox
  275. windowrule = size 1866 1284,firefox
  276. windowrule = float,firefox
  277. windowrule = workspace 2 silent,^(firefox)$
  278. windowrulev2 = size 943 514,class,^(firefox)$,title:^(.*Save.*)$
  279. windowrulev2 = size 943 514,class,^(firefox)$,title:^(.*save.*)$
  280.  
  281. windowrule = workspace 5 silent,^(gedit)$
  282. windowrule = float,gedit
  283. windowrule = move 250 70,^(gedit)$
  284. windowrule = size 1311 1327,^(gedit)$
  285. windowrule = opacity 0.85 0.85,^(gedit)$
  286.  
  287. windowrule = move 1304 518,gthumb
  288. windowrule = float,gthumb
  289. windowrule = workspace 9 silent,^(gthumb)$
  290.  
  291. windowrule = move 273 92,lite-xl
  292. windowrule = float,lite-xl
  293. windowrule = workspace 5,lite-xl
  294. windowrule = opacity 0.80 0.80,^(lite-xl)$
  295.  
  296. windowrule = float,catfish
  297. windowrule = move 169 147,catfish
  298. windowrule = size 774 509,catfish
  299. windowrule = workspace 7 silent,^(catfish)$
  300.  
  301. windowrule = move 135 106,shotwell
  302. windowrule = float,shotwell
  303. windowrule = workspace 9 silent,^(shotwell)$
  304.  
  305. windowrule = float,eog
  306. windowrule = float,celluloid
  307. windowrule = float,Secrets
  308. windowrule = float,com.github.rafostar.Clapper
  309. windowrule = float,epiphany
  310. windowrule = float,gnome-tweaks
  311.  
  312. windowrule = move 889 320,file-roller
  313. windowrule = size 535 379,file-roller
  314. windowrule = float,file-roller
  315.  
  316. windowrule = move 316 74,chromium
  317. windowrule = size 1849 1252,chromium
  318. windowrule = float,chromium
  319. windowrule = workspace 3 silent,^(chromium)$
  320.  
  321. windowrule = workspace 9 silent,gimp-2.99
  322. windowrule = opacity 0.85 0.85,gimp-2.99
  323. windowrule = size 1146 658,title:Export Image
  324. windowrule = size 1146 658,title:Save Image
  325.  
  326. windowrule = workspace 7,^(gnome-system-monitor)$
  327. windowrule = move 95 757,gnome-system-monitor
  328. windowrulev2 = float,class:^(gnome-system-monitor)$
  329.  
  330. windowrule = float,geany
  331. windowrule = workspace 9 silent,geany
  332. # windowrulev2 = float,class:,^(Alacritty)$
  333.  
  334. windowrule = float,g4music
  335.  
  336. windowrule = center,title:^(.*Save.*)$
  337. windowrulev2 = float, class:file_progress
  338. windowrulev2 = float, class:confirm
  339. windowrulev2 = float, class:dialog
  340. windowrulev2 = float, class:download
  341. windowrulev2 = float, class:notification
  342. windowrulev2 = float, class:error
  343. windowrulev2 = float, class:splash
  344.  
  345. #windowrule = opacity 0.7 0.7,rofi
  346. #windowrulev2 = animation slide,class:^(rofi)$
  347.  
  348. # █▀ █▀▀ █▀█ █▀▀ █▀▀ █▄░█ █▀ █░█ █▀█ ▀█▀
  349. # ▄█ █▄▄ █▀▄ ██▄ ██▄ █░▀█ ▄█ █▀█ █▄█ ░█░
  350. bind=, Print,exec,grim $(xdg-user-dir PICTURES)/$(date +'%s_grim.png')
  351. bind = CTRL,Print,exec,slurp | grim -g - ~/Downloads/slurped.png
  352.  
  353. # make floating and sticky
  354. #indowrulev2 = float, title:^(Picture-in-Picture)$
  355. #windowrulev2 = pin, title:^(Picture-in-Picture)$
  356.  
  357. # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀▄▀█ ▄▀█ █▄░█ ▄▀█ █▀▀ █▀▄▀█ █▀▀ █▄░█ ▀█▀
  358. # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █░▀░█ █▀█ █░▀█ █▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░
  359. $mainMod = SUPER
  360. bind = $mainMod, Return, exec,xfce4-terminal
  361. bind = $mainMod, A, exec,alacritty -e zsh
  362. bind = $mainMod, K, exec,kitty -e ranger
  363. bind = $mainMod, G, exec, gedit
  364. bind = $mainMod, Q, killactive,
  365. bind = $mainMod, C, exec,gsimplecal
  366. #bind = $mainMod, M, exit,
  367. bind = $mainMod, V, togglefloating,
  368. bind = $mainMod, R, exec, rofi -show drun
  369. bind = $mainMod ,D, exec,wofi -n --show drun -k "/dev/null"
  370. bind = $mainMod, P, pseudo, # dwindle
  371. bind = $mainMod, J, togglesplit, # dwindle
  372. #bind = CTRL, space, exec, ulauncher-toggle
  373. bind = CTRL, space, exec, wofi -n --show drun -k "/dev/null"
  374. bind=  CTRL, M, exec, wallpaper.sh
  375. bind=  CTRL, J, exec, workspaceloop.sh
  376. bind = CTRL, Q, exec, killall wallpaper.sh
  377. bind = CTRL, E, exec, killall workspaceloop.sh
  378.  
  379. # Reload waybar
  380. #bind = SUPER_SHIFT, R, exec, ~/.scripts/launch_waybar
  381.  
  382. # Ricing
  383. bind = CTRL, 4, exec, kitty --title fly_is_kitty sh -c 'cava'
  384. #bind = CTRL, 2, exec, kitty --title donut_is_kitty sh -c '~/.local/bin/donut'
  385. #bind = CTRL, 3, exec, kitty --title clock_is_kitty sh -c 'tty-clock -C5 -c'
  386.  
  387. # █▀▀ █▀█ █▀▀ █░█ █▀
  388. # █▀░ █▄█ █▄▄ █▄█ ▄█
  389. bind = $mainMod, left, movefocus, l
  390. bind = $mainMod, right, movefocus, r
  391. bind = $mainMod, up, movefocus, u
  392. bind = $mainMod, down, movefocus, d
  393.  
  394.  
  395. # █▀ █░█░█ █ ▀█▀ █▀▀ █░█
  396. # ▄█ ▀▄▀▄▀ █ ░█░ █▄▄ █▀█
  397. bind = $mainMod, 1, workspace, 1
  398. bind = $mainMod, 2, workspace, 2
  399. bind = $mainMod, 3, workspace, 3
  400. bind = $mainMod, 4, workspace, 4
  401. bind = $mainMod, 5, workspace, 5
  402. bind = $mainMod, 6, workspace, 6
  403. bind = $mainMod, 7, workspace, 7
  404. bind = $mainMod, 8, workspace, 8
  405. bind = $mainMod, 9, workspace, 9
  406. bind = $mainMod, 0, workspace, 10
  407.  
  408. # █▀▄▀█ █▀█ █░█ █▀▀
  409. # █░▀░█ █▄█ ▀▄▀ ██▄
  410. bind = $mainMod SHIFT, 1, movetoworkspace, 1
  411. bind = $mainMod SHIFT, 2, movetoworkspace, 2
  412. bind = $mainMod SHIFT, 3, movetoworkspace, 3
  413. bind = $mainMod SHIFT, 4, movetoworkspace, 4
  414. bind = $mainMod SHIFT, 5, movetoworkspace, 5
  415. bind = $mainMod SHIFT, 6, movetoworkspace, 6
  416. bind = $mainMod SHIFT, 7, movetoworkspace, 7
  417. bind = $mainMod SHIFT, 8, movetoworkspace, 8
  418. bind = $mainMod SHIFT, 9, movetoworkspace, 9
  419. bind = $mainMod SHIFT, 0, movetoworkspace, 10
  420. bind = CTRL, right, workspace, e+1
  421. bind = CTRL, left, workspace, e-1
  422.  
  423. # █▀█ █▀▀ █▀ █ ▀█ █▀▀
  424. # █▀▄ ██▄ ▄█ █ █▄ ██▄
  425. binde = SUPER CTRL, left, resizeactive, -20 0
  426. binde = SUPER CTRL, right, resizeactive, 20 0
  427. binde = SUPER CTRL, up, resizeactive, 0 -20
  428. binde = SUPER CTRL, down, resizeactive, 0 20
  429.  
  430.  
  431. # █▀▄▀█ █▀█ █░█ █▀ █▀▀   █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀
  432. # █░▀░█ █▄█ █▄█ ▄█ ██▄   █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█
  433. bind = $mainMod, mouse_down, workspace, e+1
  434. bind = $mainMod, mouse_up, workspace, e-1
  435. bindm = $mainMod, mouse:272, movewindow
  436. bindm = $mainMod, mouse:273, resizewindow
  437.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement