This commit is contained in:
thomasabishop 2024-04-09 16:35:43 +01:00
parent 13016d4098
commit f76f7b5764
4 changed files with 32 additions and 14 deletions

View file

@ -21,7 +21,9 @@ exec-once=hyperctl setcursor Breeze 24
windowrulev2 = float,class:(floating) # ensure you have defined a floating window class windowrulev2 = float,class:(floating) # ensure you have defined a floating window class
# Set programs that you use # Set programs that you use
$terminal = kitty
#$terminal = kitty -e tmux
$terminal = kitty
$fileManager = nemo $fileManager = nemo
$menu = rofi -show drun $menu = rofi -show drun
$windowSwitcher = rofi -show window $windowSwitcher = rofi -show window
@ -54,11 +56,10 @@ general {
gaps_in = 3 gaps_in = 3
gaps_out = 6 gaps_out = 6
border_size = 2 border_size = 3
# col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
# col.inactive_border = rgba(595959aa) # col.inactive_border = rgba(595959aa)
col.active_border = rgb(458588) #col.active_border = rgb(458588)
#col.active_border = rgb(B8BB26) col.active_border = rgb(076678)
col.inactive_border = rgb(a89984) col.inactive_border = rgb(a89984)
layout = dwindle layout = dwindle
@ -82,8 +83,8 @@ decoration {
shadow_render_power = 3 shadow_render_power = 3
col.shadow = rgba(1a1a1aee) col.shadow = rgba(1a1a1aee)
# dim_inactive = true # dim_inactive = true
# dim_strength = 0.5 # dim_strength = 0.2
# inactive_opacity = 0.8 #inactive_opacity = 0.8
} }
animations { animations {
@ -136,6 +137,8 @@ disable_hyprland_logo = true
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. # windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrulev2 = float, class:.*
# See https://wiki.hyprland.org/Configuring/Keywords/ for more # See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER $mainMod = SUPER
@ -143,16 +146,14 @@ $mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal bind = $mainMod, Q, exec, $terminal
bind = $mainMod, R, killactive, bind = $mainMod, R, killactive,
bind = $mainMod, M, exit, bind = $mainMod, M, togglegroup,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
# bind = $mainMod, V, togglefloating,
bind = ALT, SPACE , exec, $menu bind = ALT, SPACE , exec, $menu
bind = ALT, TAB , exec, $windowSwitcher bind = ALT, TAB , exec, $windowSwitcher
# bind = $mainMod, SPACE, exec, $windowSwitcher
bind = ALT, B, exec, $HOME/dotfiles/scripts/third-party/tofi_window_switch.sh
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, T, togglesplit, # dwindle bind = $mainMod, T, togglesplit, # dwindle
bind = $mainMod, F, fullscreen, 1 bind = $mainMod, F, fullscreen, 1
bind = $mainMod, V, exec, kitty --class floating -e zsh -c 'clipse $PPID' # bind the open clipboard operation to a nice key. bind = $mainMod, V, exec, kitty --class floating -e zsh -c 'clipse $PPID' # bind the open clipboard operation to a nice key.
@ -209,3 +210,20 @@ bind = $mainMod, LEFT, workspace, m-1
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
plugin {
hyprbars {
# example config
bar_text_size = 11
bar_text_font = Sys TT Bold
bar_height = 25
bar_title_enabled = true
bar_color = rgb(7, 102, 120)
bar_text_align = left
bar_part_of_window = true
bar_precedence_over_border = false
hyprbars-button = rgb(00ffffff), 10, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgb(00ffffff), 10, , hyprctl dispatch fullscreen 1
}
}

View file

@ -9,8 +9,8 @@ clipboard_control write-clipboard write-primary read-clipboard-ask read-primary-
window_padding_width 5 window_padding_width 5
remember_window_size no remember_window_size no
copy_on_select yes copy_on_select yes
background_opacity 1 background_opacity 1
confirm_os_window_close 0 confirm_os_window_close 0
# hide_window_decorations no # hide_window_decorations no
# wayland_titlebar_color background # wayland_titlebar_color background

View file

@ -1,5 +1,5 @@
configuration { configuration {
/* modes: "window,drun,run,ssh";*/ modes: "window,drun,run,combi";
font: "Sys TT 12"; font: "Sys TT 12";
location: 7; location: 7;
kb-row-up: "Up,Control+k"; kb-row-up: "Up,Control+k";

View file

@ -95,7 +95,7 @@ window {
width: 20%; width: 20%;
border: 2; border: 2;
border-color: #ebdbb2; border-color: #ebdbb2;
margin: 1 10; margin: 1 7;
} }
mainbox { mainbox {
padding: 4; padding: 4;