diff --git a/.config/fuzzel/fuzzel.ini b/.config/fuzzel/fuzzel.ini new file mode 100644 index 00000000..8f0cba75 --- /dev/null +++ b/.config/fuzzel/fuzzel.ini @@ -0,0 +1,20 @@ +prompt=">> " +width=25 +lines=15 +icons-enabled=no +font=victormono + +[colors] +background=28282899 +border=b8bb26ff +match=db4934ff +selection=ebdbb2ff +selection-text=ebdbb2ff +text=ebdbb2ff +prompt=ebdbb2ff +input=ebdbb2ff + +[border] +width=2 +radius=20 + diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index e2a32f17..df20357c 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -1,81 +1,10 @@ -# ####################################################################################### -# AUTOGENERATED HYPR CONFIG. -# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, -# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. -# ####################################################################################### -#autogenerated =#autogenerated 1 # remove this line to remove the warning - -# This is an example Hyprland config file. -# Refer to the wiki for more information. -# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ - -# Please note not all available settings / options are set here. -# For a full list, see the wiki - -# You can split this configuration into multiple files -# Create your files separately and then link them to this file like this: -# source = ~/.config/hypr/myColors.conf - - -################ -### MONITORS ### -################ - -# See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto - -################### -### MY PROGRAMS ### -################### - -# See https://wiki.hyprland.org/Configuring/Keywords/ - -# Set programs that you use -$TERMINAL=$TERMINAL -$FM=$FM -$MENU=$MENU -$EMOJI_MENU=$EMOJI_MENU -$BORDER_RADIUS=$BORDER_RADIUS -$BORDER_WIDTH=$BORDER_WIDTH -$FONT=$FONT -$ACCENT=$ACCENT -$ACTIVE_BORDER_COLOR=$ACTIVE_BORDER_COLOR -$INACTIVE_BORDER_COLOR=$INACTIVE_BORDER_COLOR -$KEYBOARD_LAYOUT=$KEYBOARD_LAYOUT -$SHADOW=$SHADOW -$SHADOW_COLOR=$SHADOW_COLOR -$ACTIVE_OPACITY=1.0 -$INACTIVE_OPACITY=0.9 -$FUZZEL_OPACITY_HEX="99" -$GAPS_IN=$GAPS_IN -$GAPS_OUT=$GAPS_OUT - -################# -###AUTOSTART ### -################# - -# Autostart necessary processes (like notifications daemons, status bars, etc.) -# Or execute your favorite apps at launch like this: - -# exec-once = $terminal -# exec-once = nm-applet & -# exec-once = waybar & hyprpaper & firefox - - -############################# -### ENVIRONMENT VARIABLES ### -############################# - -# See https://wiki.hyprland.org/Configuring/Environment-variables/ - env = XCURSOR_SIZE,24 - env = HYPRCURSOR_SIZE,24 - ##################### ### LOOK AND FEEL ### ##################### @@ -84,14 +13,14 @@ env = HYPRCURSOR_SIZE,24 # https://wiki.hyprland.org/Configuring/Variables/#general general { - gaps_in = $GAPS_IN - gaps_out = $GAPS_OUT + gaps_in = 10 + gaps_out = 20 - border_size = $BORDER_WIDTH + border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgb($ACTIVE_BORDER_COLOR) - col.inactive_border = rgb($INACTIVE_BORDER_COLOR) + col.active_border = rgb(b8bb26) + col.inactive_border = rgb(ebdbb2) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false @@ -104,16 +33,16 @@ general { # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { - rounding = $BORDER_RADIUS + rounding = 20 # Change transparency of focused and unfocused windows - active_opacity = $ACTIVE_OPACITY - inactive_opacity = $INACTIVE_OPACITY + active_opacity = 1.0 + inactive_opacity = 0.9 - drop_shadow = $SHADOW + drop_shadow = true shadow_range = 20 shadow_render_power = 3 - col.shadow = rgb($SHADOW_COLOR) + col.shadow = rgb(282828) # https://wiki.hyprland.org/Configuring/Variables/#blur blur { @@ -134,7 +63,6 @@ animations { bezier = myBezier, 0.05, 0.9, 0.1, 1.05 animation = windows, 1, 7, myBezier - animation = windowsOut, 1, 7, default, popin 80% animation = border, 1, 10, default animation = borderangle, 1, 8, default animation = fade, 1, 7, default @@ -167,7 +95,7 @@ misc { # https://wiki.hyprland.org/Configuring/Variables/#input input { - kb_layout = $KEYBOARD_LAYOUT + kb_layout = gb kb_variant = kb_model = kb_options = @@ -200,23 +128,22 @@ device { ################### # See https://wiki.hyprland.org/Configuring/Keywords/ -$mainMod = SUPER # Sets "Windows" key as main modifier # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more -bind = $mainMod, Q, exec, $TERMINAL -bind = $mainMod, C, killactive, -bind = $mainMod, M, fullscreen, 1 -bind = $mainMod, E, exec, $EMOJI_MENU -bind = $mainMod, V, togglefloating, -bind = $mainMod, Space, exec, $MENU -bind = $mainMod, P, exec, ~/bin/screenshot-w -bind = $mainMod, J, togglesplit, # dwindle -bind = $mainMod SHIFT, up, exec, pactl set-sink-volume 0 +5% -bind = $mainMod SHIFT, down, exec, pactl set-sink-volume 0 -5% -bind = $mainMod, F, fullscreen, -bind = $mainMod, L, exec, hyprlock -bind = $mainMod SHIFT, E, exit -bind = $mainMod SHIFT, F, exec, $FM +bind = SUPER, Q, exec, kitty +bind = SUPER, C, killactive, +bind = SUPER, M, fullscreen, 1 +bind = SUPER, E, exec, fuzzel-emoji +bind = SUPER, V, togglefloating, +bind = SUPER, Space, exec, fuzzel +bind = SUPER, P, exec, ~/bin/screenshot-w +bind = SUPER, J, togglesplit, # dwindle +bind = SUPER SHIFT, up, exec, pactl set-sink-volume 0 +5% +bind = SUPER SHIFT, down, exec, pactl set-sink-volume 0 -5% +bind = SUPER, F, fullscreen, +bind = SUPER, L, exec, hyprlock +bind = SUPER SHIFT, E, exit +bind = SUPER SHIFT, F, exec, pcmanfm # Cmus bind = ALT, N, exec, cmus-remote -n @@ -225,46 +152,46 @@ bind = ALT, U, exec, cmus-remote -u bind = ALT, R, exec, cmus-remote -r # Move focus with mainMod + arrow keys -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +bind = SUPER, left, movefocus, l +bind = SUPER, right, movefocus, r +bind = SUPER, up, movefocus, u +bind = SUPER, down, movefocus, d # Switch workspaces with mainMod + [0-9] -bind = $mainMod, 1, workspace, 1 -bind = $mainMod, 2, workspace, 2 -bind = $mainMod, 3, workspace, 3 -bind = $mainMod, 4, workspace, 4 -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 = SUPER, 1, workspace, 1 +bind = SUPER, 2, workspace, 2 +bind = SUPER, 3, workspace, 3 +bind = SUPER, 4, workspace, 4 +bind = SUPER, 5, workspace, 5 +bind = SUPER, 6, workspace, 6 +bind = SUPER, 7, workspace, 7 +bind = SUPER, 8, workspace, 8 +bind = SUPER, 9, workspace, 9 +bind = SUPER, 0, workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] -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 +bind = SUPER SHIFT, 1, movetoworkspace, 1 +bind = SUPER SHIFT, 2, movetoworkspace, 2 +bind = SUPER SHIFT, 3, movetoworkspace, 3 +bind = SUPER SHIFT, 4, movetoworkspace, 4 +bind = SUPER SHIFT, 5, movetoworkspace, 5 +bind = SUPER SHIFT, 6, movetoworkspace, 6 +bind = SUPER SHIFT, 7, movetoworkspace, 7 +bind = SUPER SHIFT, 8, movetoworkspace, 8 +bind = SUPER SHIFT, 9, movetoworkspace, 9 +bind = SUPER SHIFT, 0, movetoworkspace, 10 # Example special workspace (scratchpad) -bind = $mainMod, S, togglespecialworkspace, magic -bind = $mainMod SHIFT, S, movetoworkspace, special:magic +bind = SUPER, S, togglespecialworkspace, magic +bind = SUPER SHIFT, S, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll -bind = $mainMod, mouse_down, workspace, e+1 -bind = $mainMod, mouse_up, workspace, e-1 +bind = SUPER, mouse_down, workspace, e+1 +bind = SUPER, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging -bindm = $mainMod, mouse:272, movewindow -bindm = $mainMod, mouse:273, resizewindow +bindm = SUPER, mouse:272, movewindow +bindm = SUPER, mouse:273, resizewindow # Laptop multimedia keys for volume and LCD brightness bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ @@ -287,9 +214,9 @@ bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ -windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. +windowrulev2 = suppressevent maximize, class:.* # Youll probably like this. -exec-once="dunst" -#exec-once="lxappearance" -exec-once="waybar" -exec-once="hyprpaper" +exec-once='dunst' +#exec-once='lxappearance' +exec-once='waybar' +exec-once='hyprpaper' diff --git a/.config/hypr/hyprland.conf.bak b/.config/hypr/hyprland.conf.bak new file mode 100644 index 00000000..e2a32f17 --- /dev/null +++ b/.config/hypr/hyprland.conf.bak @@ -0,0 +1,295 @@ +# ####################################################################################### +# AUTOGENERATED HYPR CONFIG. +# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, +# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. +# ####################################################################################### + +#autogenerated =#autogenerated 1 # remove this line to remove the warning + +# This is an example Hyprland config file. +# Refer to the wiki for more information. +# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/ + +# Please note not all available settings / options are set here. +# For a full list, see the wiki + +# You can split this configuration into multiple files +# Create your files separately and then link them to this file like this: +# source = ~/.config/hypr/myColors.conf + + +################ +### MONITORS ### +################ + +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=,preferred,auto,auto + + +################### +### MY PROGRAMS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ + +# Set programs that you use +$TERMINAL=$TERMINAL +$FM=$FM +$MENU=$MENU +$EMOJI_MENU=$EMOJI_MENU +$BORDER_RADIUS=$BORDER_RADIUS +$BORDER_WIDTH=$BORDER_WIDTH +$FONT=$FONT +$ACCENT=$ACCENT +$ACTIVE_BORDER_COLOR=$ACTIVE_BORDER_COLOR +$INACTIVE_BORDER_COLOR=$INACTIVE_BORDER_COLOR +$KEYBOARD_LAYOUT=$KEYBOARD_LAYOUT +$SHADOW=$SHADOW +$SHADOW_COLOR=$SHADOW_COLOR +$ACTIVE_OPACITY=1.0 +$INACTIVE_OPACITY=0.9 +$FUZZEL_OPACITY_HEX="99" +$GAPS_IN=$GAPS_IN +$GAPS_OUT=$GAPS_OUT + +################# +###AUTOSTART ### +################# + +# Autostart necessary processes (like notifications daemons, status bars, etc.) +# Or execute your favorite apps at launch like this: + +# exec-once = $terminal +# exec-once = nm-applet & +# exec-once = waybar & hyprpaper & firefox + + +############################# +### ENVIRONMENT VARIABLES ### +############################# + +# See https://wiki.hyprland.org/Configuring/Environment-variables/ + +env = XCURSOR_SIZE,24 + + +env = HYPRCURSOR_SIZE,24 + + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = $GAPS_IN + gaps_out = $GAPS_OUT + + border_size = $BORDER_WIDTH + + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = rgb($ACTIVE_BORDER_COLOR) + col.inactive_border = rgb($INACTIVE_BORDER_COLOR) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +# https://wiki.hyprland.org/Configuring/Variables/#decoration +decoration { + rounding = $BORDER_RADIUS + + # Change transparency of focused and unfocused windows + active_opacity = $ACTIVE_OPACITY + inactive_opacity = $INACTIVE_OPACITY + + drop_shadow = $SHADOW + shadow_range = 20 + shadow_render_power = 3 + col.shadow = rgb($SHADOW_COLOR) + + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#animations +animations { + enabled = true + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more +dwindle { + + + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more +master { + new_status = master +} + +# https://wiki.hyprland.org/Configuring/Variables/#misc +misc { + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( +} + + +############# +### INPUT ### +############# + +# https://wiki.hyprland.org/Configuring/Variables/#input +input { + kb_layout = $KEYBOARD_LAYOUT + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = false + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#gestures +gestures { + workspace_swipe = false +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +device { + name = epic-mouse-v1 + sensitivity = -0.5 +} + + +################### +### KEYBINDINGS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ +$mainMod = SUPER # Sets "Windows" key as main modifier + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Q, exec, $TERMINAL +bind = $mainMod, C, killactive, +bind = $mainMod, M, fullscreen, 1 +bind = $mainMod, E, exec, $EMOJI_MENU +bind = $mainMod, V, togglefloating, +bind = $mainMod, Space, exec, $MENU +bind = $mainMod, P, exec, ~/bin/screenshot-w +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod SHIFT, up, exec, pactl set-sink-volume 0 +5% +bind = $mainMod SHIFT, down, exec, pactl set-sink-volume 0 -5% +bind = $mainMod, F, fullscreen, +bind = $mainMod, L, exec, hyprlock +bind = $mainMod SHIFT, E, exit +bind = $mainMod SHIFT, F, exec, $FM + +# Cmus +bind = ALT, N, exec, cmus-remote -n +bind = ALT, P, exec, cmus-remote -p +bind = ALT, U, exec, cmus-remote -u +bind = ALT, R, exec, cmus-remote -r + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +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 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +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 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- + +############################## +### WINDOWS AND WORKSPACES ### +############################## + +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ + +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ + +windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. + +exec-once="dunst" +#exec-once="lxappearance" +exec-once="waybar" +exec-once="hyprpaper" diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf index fa2a7e83..4b529e09 100644 --- a/.config/hypr/hyprlock.conf +++ b/.config/hypr/hyprlock.conf @@ -5,8 +5,8 @@ general { background { monitor = #path = screenshot # screenshot of your desktop - path = $HOME/Pictures/wallpapers/wallpaper.png # NOTE only png supported for now - #color = $color7 + path = /home/deadvey/color_schemes/gruvbox/dark/wallpaper.png # NOTE only png supported for now + #color = # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_size = 0 @@ -27,7 +27,7 @@ input-field { dots_center = true outer_color = #282828 inner_color = #ebdbb2 - font_color = #458588 + font_color = #83a598 fade_on_empty = true placeholder_text = Password... # Text rendered in the input box when it's empty. hide_input = false @@ -40,7 +40,7 @@ input-field { # User label { monitor = - text =  $USER + text =  deadvey color = #ebdbb2 font_size = 18 font_family = Inter Display Medium @@ -50,27 +50,14 @@ label { valign = bottom } - -# weather edit specific location. Note, this cause a 2-4 seconds delay in locking -label { - monitor = - text = cmd[update:3600000] [ -f ~/.cache/.weather_cache ] && cat ~/.cache/.weather_cache - color = $color12 - font_size = 24 - font_family = JetBrains Mono Nerd Font 10 - position = 50, 0 - halign = left - valign = bottom -} - # Put a picture of choice here. Default is the current wallpaper image { monitor = - path = $HOME/Pictures/avatar.png + path = /home/deadvey/Pictures/avatar.png size = 230 rounding = -1 border_size = 2 - border_color = $color11 + border_color = #b8bb26 rotate = 0 reload_time = -1 position = 0, 300 diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index 0af815a1..ee6ac105 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -1,5 +1,4 @@ -$wallpaper_path = $WALLPAPER +preload = /home/deadvey/color_schemes/gruvbox/dark/wallpaper.png +wallpaper = HDMI-A-1,/home/deadvey/color_schemes/gruvbox/dark/wallpaper.png +wallpaper = VGA-1,/home/deadvey/color_schemes/gruvbox/dark/wallpaper.png -preload = $wallpaper_path -wallpaper = HDMI-A-1,$wallpaper_path -wallpaper = VGA-1,$wallpaper_path diff --git a/.config/kitty/current-theme.conf b/.config/kitty/current-theme.conf index a869c48b..acd6d8d6 100644 --- a/.config/kitty/current-theme.conf +++ b/.config/kitty/current-theme.conf @@ -1,5 +1,6 @@ + selection_foreground #282828 -selection_background #ebdbb2 +selection_background #fe8019 foreground #ebdbb2 background #282828 color0 #3c3836 @@ -20,4 +21,5 @@ color14 #8ec07c color15 #fbf1c7 cursor #bdae93 cursor_text_color #665c54 -url_color #83a598 \ No newline at end of file +url_color #83a598 + diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index 2dc9d93a..ae10a8ba 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -1,9 +1,4 @@ -# BEGIN_KITTY_THEME -# Gruvbox Dark -include current-theme.conf -# END_KITTY_THEME -# font_family VictorMono Nerd Font Medium Italic -# bold_font VictorMono Nerd Font Extra Bold + bold_italic VictorMono Nerd Font Extra Bold Italic background_opacity 0.6 @@ -12,4 +7,28 @@ font_family family='VictorMono Nerd Font Mono' postscript_name=VictorMonoNF bold_font auto italic_font auto bold_italic_font auto -# END_KITTY_FONTS + +selection_foreground #282828 +selection_background #fe8019 +foreground #ebdbb2 +background #282828 +color0 #3c3836 +color1 #cc241d +color2 #98971a +color3 #d79921 +color4 #458588 +color5 #b16286 +color6 #689d6a +color7 #a89984 +color8 #a89984 +color9 #db4934 +color10 #b8bb26 +color11 #dabd2f +color12 #83a598 +color13 #d3869b +color14 #8ec07c +color15 #fbf1c7 +cursor #bdae93 +cursor_text_color #665c54 +url_color #83a598 + diff --git a/.config/waybar/config b/.config/waybar/config index b35ace96..c6878cb2 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -19,3 +19,4 @@ "width": 1920 } ] + diff --git a/.config/waybar/style.css b/.config/waybar/style.css index da99b595..71bffe4c 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -1,9 +1,8 @@ -@define-color accent #b8bb26; - window#waybar.whiteCornersTop { - border: 2px solid @accent; + border: 2px solid #b8bb26; background-color: transparent; box-shadow: 0px 0px 0px 60px black, 0px 0px 0px 0.5px #ebdbb2; - border-radius: 20px; + border-radius: 22px; margin: 20px; } + diff --git a/.profile b/.profile index cd794c34..74686ae7 100644 --- a/.profile +++ b/.profile @@ -1,34 +1,47 @@ -export THEME="gruvbox" # Supported: gruvbox -export MODE="dark" # light/dark +set -a +THEME="gruvbox" # Supported: gruvbox +MODE="dark" # light/dark source $HOME/color_schemes/$THEME/$MODE/colors.sh -export DOTFILES="$HOME/dotfiles" -export GAPS_IN=10 -export GAPS_OUT=20 -export BORDER_WIDTH=2 -export BORDER_RADIUS=20 -export FONT="victormono" -export ACCENT=$GREEN -export ACTIVE_BORDER_COLOR=$ACCENT -export INACTIVE_BORDER_COLOR=$FG -export KEYBOARD_LAYOUT="gb" -export SHADOW="true" -export SHADOW_COLOR=$BLACK -export WAYBAR_COLOR=$ACCENT -export TERMINAL="kitty" -export FM="pcmanfm" -export WALLPAPER="$HOME/color_schemes/$THEME/$MODE/wallpaper.png" -export ACTIVE_OPACITY=1.0 -export INACTIVE_OPACITY=0.9 -export MENU_OPACITY_HEX="99" -export TERMINAL_OPACITY=0.6 -export MENU="fuzzel --background=$BG$MENU_OPACITY_HEX --border-color=${ACCENT}ff --match-color=${RED}ff --selection-color=${FG}ff --selection-text-color=${BG}ff --text-color=${FG}ff --prompt-color=${FG}ff --input-color=${FG}ff --border-width=$BORDER_WIDTH --border-radius=$BORDER_RADIUS --prompt=>> --width=25 --lines=15 --no-icons --font=$FONT" +DOTFILES="$HOME/dotfiles" +GAPS_IN=10 +GAPS_OUT=20 +BORDER_WIDTH=2 +BORDER_RADIUS=20 +SCREEN_HEIGHT=1080 +SCREEN_WIDTH=1920 +FONT="victormono" +mainMod="SUPER" +ACCENT=$GREEN +ACTIVE_BORDER_COLOR=$ACCENT +INACTIVE_BORDER_COLOR=$FG +KEYBOARD_LAYOUT="gb" +SHADOW="true" +SHADOW_COLOR=$BLACK +WAYBAR_COLOR=$ACCENT +TERMINAL="kitty" +FM="pcmanfm" +WALLPAPER="$HOME/color_schemes/$THEME/$MODE/wallpaper.png" +ACTIVE_OPACITY=1.0 +INACTIVE_OPACITY=0.9 +MENU_OPACITY_HEX="99" +TERMINAL_OPACITY=0.6 +MENU="fuzzel" +EMOJI_MENU="fuzzel-emoji" -export EMOJI_MENU="fuzzel-emoji --background=$BG$MENU_OPACITY_HEX --border-color=${ACCENT}ff --match-color=${RED}ff --selection-color=${FG}ff --selection-text-color=${BG}ff --text-color=${FG}ff --prompt-color=${FG}ff --input-color=${FG}ff --border-width=$BORDER_WIDTH --border-radius=$BORDER_RADIUS --prompt=>> --width=25 --lines=15 --no-icons --font=$FONT" - -sed 's/^background_opacity.*/background_opacity\ '"$TERMINAL_OPACITY"'/g' $DOTFILES/.config/kitty/kitty.conf > tmp && mv tmp $DOTFILES/.config/kitty/kitty.conf - -printf "selection_foreground #$BG\nselection_background #$FG\nforeground #$FG\nbackground #$BG\ncolor0 #$BG1\ncolor1 #$DARK_RED\ncolor2 #$DARK_GREEN\ncolor3 #$DARK_YELLOW\ncolor4 #$DARK_BLUE\ncolor5 #$DARK_PURPLE\ncolor6 #$DARK_AQUA\ncolor7 #$FG4\ncolor8 #$GRAY\ncolor9 #$RED\ncolor10 #$GREEN\ncolor11 #$YELLOW\ncolor12 #$BLUE\ncolor13 #$PURPLE\ncolor14 #$AQUA\ncolor15 #$FG0\ncursor #$FG3\ncursor_text_color #$BG3\nurl_color #$BLUE" > $DOTFILES/.config/kitty/current-theme.conf - -sed 's/^\@define-color.*/\@define-color\ accent\ \#'"$ACCENT"';/g' $DOTFILES/.config/waybar/style.css > tmp && mv tmp $DOTFILES/.config/waybar/style.css +# Config locations +KITTY_CONFIG="$DOTFILES/.config/kitty/kitty.conf" +HYPRLAND_CONFIG="$DOTFILES/.config/hypr/hyprland.conf" +HYPRPAPER_CONFIG="$DOTFILES/.config/hypr/hyprpaper.conf" +HYPRLOCK_CONFIG="$DOTFILES/.config/hypr/hyprlock.conf" +WAYBAR_CONFIG="$DOTFILES/.config/waybar/config" +WAYBAR_STYLE="$DOTFILES/.config/waybar/style.css" +FUZZEL_CONFIG="$DOTFILES/.config/fuzzel/fuzzel.ini" + +exec $DOTFILES/scripts/change_kitty_theme.sh & +exec $DOTFILES/scripts/change_hyprland_theme.sh & +exec $DOTFILES/scripts/change_hyprpaper_theme.sh & +exec $DOTFILES/scripts/change_hyprlock_theme.sh & +exec $DOTFILES/scripts/change_waybar_theme.sh & +exec $DOTFILES/scripts/change_fuzzel_theme.sh & diff --git a/color_schemes/gruvbox/light/colors.sh b/color_schemes/gruvbox/light/colors.sh index 4e9719c1..80437b07 100644 --- a/color_schemes/gruvbox/light/colors.sh +++ b/color_schemes/gruvbox/light/colors.sh @@ -1,15 +1,15 @@ -BG="fbf1c7" +BG="ebdbb2" BG0_H="f9f5d7" BG0_S="32302f" BG0="282828" -BG1="3c3836" +BG1="fbf1c7" BG2="504945" BG3="665c54" BG4="7c6f64" DARK_GRAY="928374" -FG="3c3836" -FG0="fbf1c7" +FG="282828" +FG0="3c3836" FG1="ebdbb2" FG2="d5c4a1" FG3="bdae93" @@ -31,5 +31,5 @@ PURPLE="d3869b" AQUA="8ec07c" ORANGE="fe8019" -WHITE=$BG -BLACK=$FG +WHITE=$BG1 +BLACK=$FG0 diff --git a/scripts/change_fuzzel_theme.sh b/scripts/change_fuzzel_theme.sh new file mode 100644 index 00000000..236a9799 --- /dev/null +++ b/scripts/change_fuzzel_theme.sh @@ -0,0 +1,20 @@ +echo "prompt=\">> \" +width=25 +lines=15 +icons-enabled=no +font=victormono + +[colors] +background=${BG}${MENU_OPACITY_HEX} +border=${ACCENT}ff +match=${RED}ff +selection=${FG}ff +selection-text=${FG}ff +text=${FG}ff +prompt=${FG}ff +input=${FG}ff + +[border] +width=$BORDER_WIDTH +radius=$BORDER_RADIUS +" > $FUZZEL_CONFIG diff --git a/scripts/change_hyprland_theme.sh b/scripts/change_hyprland_theme.sh new file mode 100644 index 00000000..b52a2a06 --- /dev/null +++ b/scripts/change_hyprland_theme.sh @@ -0,0 +1,222 @@ +echo " +monitor=,preferred,auto,auto + +env = XCURSOR_SIZE,24 + +env = HYPRCURSOR_SIZE,24 + +##################### +### LOOK AND FEEL ### +##################### + +# Refer to https://wiki.hyprland.org/Configuring/Variables/ + +# https://wiki.hyprland.org/Configuring/Variables/#general +general { + gaps_in = $GAPS_IN + gaps_out = $GAPS_OUT + + border_size = $BORDER_WIDTH + + # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors + col.active_border = rgb($ACTIVE_BORDER_COLOR) + col.inactive_border = rgb($INACTIVE_BORDER_COLOR) + + # Set to true enable resizing windows by clicking and dragging on borders and gaps + resize_on_border = false + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + + layout = dwindle +} + +# https://wiki.hyprland.org/Configuring/Variables/#decoration +decoration { + rounding = $BORDER_RADIUS + + # Change transparency of focused and unfocused windows + active_opacity = $ACTIVE_OPACITY + inactive_opacity = $INACTIVE_OPACITY + + drop_shadow = $SHADOW + shadow_range = 20 + shadow_render_power = 3 + col.shadow = rgb($SHADOW_COLOR) + + # https://wiki.hyprland.org/Configuring/Variables/#blur + blur { + enabled = true + size = 3 + passes = 1 + + vibrancy = 0.1696 + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#animations +animations { + enabled = true + + # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more +dwindle { + + + pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = true # You probably want this +} + +# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more +master { + new_status = master +} + +# https://wiki.hyprland.org/Configuring/Variables/#misc +misc { + force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( +} + + +############# +### INPUT ### +############# + +# https://wiki.hyprland.org/Configuring/Variables/#input +input { + kb_layout = $KEYBOARD_LAYOUT + kb_variant = + kb_model = + kb_options = + kb_rules = + + follow_mouse = 1 + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification. + + touchpad { + natural_scroll = false + } +} + +# https://wiki.hyprland.org/Configuring/Variables/#gestures +gestures { + workspace_swipe = false +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +device { + name = epic-mouse-v1 + sensitivity = -0.5 +} + + +################### +### KEYBINDINGS ### +################### + +# See https://wiki.hyprland.org/Configuring/Keywords/ + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Q, exec, $TERMINAL +bind = $mainMod, C, killactive, +bind = $mainMod, M, fullscreen, 1 +bind = $mainMod, E, exec, $EMOJI_MENU +bind = $mainMod, V, togglefloating, +bind = $mainMod, Space, exec, $MENU +bind = $mainMod, P, exec, ~/bin/screenshot-w +bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod SHIFT, up, exec, pactl set-sink-volume 0 +5% +bind = $mainMod SHIFT, down, exec, pactl set-sink-volume 0 -5% +bind = $mainMod, F, fullscreen, +bind = $mainMod, L, exec, hyprlock +bind = $mainMod SHIFT, E, exit +bind = $mainMod SHIFT, F, exec, $FM + +# Cmus +bind = ALT, N, exec, cmus-remote -n +bind = ALT, P, exec, cmus-remote -p +bind = ALT, U, exec, cmus-remote -u +bind = ALT, R, exec, cmus-remote -r + +# Move focus with mainMod + arrow keys +bind = $mainMod, left, movefocus, l +bind = $mainMod, right, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +# Switch workspaces with mainMod + [0-9] +bind = $mainMod, 1, workspace, 1 +bind = $mainMod, 2, workspace, 2 +bind = $mainMod, 3, workspace, 3 +bind = $mainMod, 4, workspace, 4 +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 + +# Move active window to a workspace with mainMod + SHIFT + [0-9] +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 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod SHIFT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, mouse_down, workspace, e+1 +bind = $mainMod, mouse_up, workspace, e-1 + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Laptop multimedia keys for volume and LCD brightness +bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+ +bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%- + +############################## +### WINDOWS AND WORKSPACES ### +############################## + +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ + +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ + +windowrulev2 = suppressevent maximize, class:.* # Youll probably like this. + +exec-once='dunst' +#exec-once='lxappearance' +exec-once='waybar' +exec-once='hyprpaper'" > $HYPRLAND_CONFIG diff --git a/scripts/change_hyprlock_theme.sh b/scripts/change_hyprlock_theme.sh new file mode 100644 index 00000000..a4da0ab2 --- /dev/null +++ b/scripts/change_hyprlock_theme.sh @@ -0,0 +1,66 @@ +echo "general { + grace = 1 +} + +background { + monitor = + #path = screenshot # screenshot of your desktop + path = $WALLPAPER # NOTE only png supported for now + #color = $color7 + + # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations + blur_size = 0 + blur_passes = 0 # 0 disables blurring + noise = 0.0117 + contrast = 1.3000 # Vibrant!!! + brightness = 0.8000 + vibrancy = 0.2100 + vibrancy_darkness = 0.0 +} + +input-field { + monitor = + size = 250, 50 + outline_thickness = 3 + dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8 + dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0 + dots_center = true + outer_color = #$BG + inner_color = #$FG + font_color = #$BLUE + fade_on_empty = true + placeholder_text = Password... # Text rendered in the input box when it's empty. + hide_input = false + + position = 0, 200 + halign = center + valign = bottom +} + +# User +label { + monitor = + text =  $USER + color = #$FG + font_size = 18 + font_family = Inter Display Medium + + position = 0, 100 + halign = center + valign = bottom +} + +# Put a picture of choice here. Default is the current wallpaper +image { + monitor = + path = $HOME/Pictures/avatar.png + size = 230 + rounding = -1 + border_size = 2 + border_color = #$ACCENT + rotate = 0 + reload_time = -1 + position = 0, 300 + halign = center + valign = bottom +}" > $HYPRLOCK_CONFIG diff --git a/scripts/change_hyprpaper_theme.sh b/scripts/change_hyprpaper_theme.sh new file mode 100644 index 00000000..e569dd3a --- /dev/null +++ b/scripts/change_hyprpaper_theme.sh @@ -0,0 +1,6 @@ +echo "preload = $WALLPAPER +wallpaper = HDMI-A-1,$WALLPAPER +wallpaper = VGA-1,$WALLPAPER +" > $HYPRPAPER_CONFIG +killall hyprpaper +hyprpaper diff --git a/scripts/change_kitty_theme.sh b/scripts/change_kitty_theme.sh new file mode 100644 index 00000000..254880c2 --- /dev/null +++ b/scripts/change_kitty_theme.sh @@ -0,0 +1,34 @@ +echo " +bold_italic VictorMono Nerd Font Extra Bold Italic +background_opacity $TERMINAL_OPACITY + +# BEGIN_KITTY_FONTS +font_family family='VictorMono Nerd Font Mono' postscript_name=VictorMonoNFM-Italic +bold_font auto +italic_font auto +bold_italic_font auto + +selection_foreground #$BG +selection_background #$ORANGE +foreground #$FG +background #$BG +color0 #$BG1 +color1 #$DARK_RED +color2 #$DARK_GREEN +color3 #$DARK_YELLOW +color4 #$DARK_BLUE +color5 #$DARK_PURPLE +color6 #$DARK_AQUA +color7 #$FG4 +color8 #$GRAY +color9 #$RED +color10 #$GREEN +color11 #$YELLOW +color12 #$BLUE +color13 #$PURPLE +color14 #$AQUA +color15 #$FG0 +cursor #$FG3 +cursor_text_color #$BG3 +url_color #$BLUE +" > $KITTY_CONFIG diff --git a/scripts/change_theme.sh b/scripts/change_theme.sh deleted file mode 100644 index 0dce1ce5..00000000 --- a/scripts/change_theme.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -BG="282828" -BG0_H="1d2021" -BG0_S="32302f" -BG0="282828" -BG1="3c3836" -BG2="504945" -BG3="665c54" -BG4="7c6f64" -DARK_GRAY="928374" - -FG="ebdbb2" -FG0="fbf1c7" -FG1="ebdbb2" -FG2="d5c4a1" -FG3="bdae93" -FG4="a89984" -GRAY="a89984" - -DARK_RED="cc241d" -DARK_GREEN="98971a" -DARK_YELLOW="d79921" -DARK_BLUE="458588" -DARK_PURPLE="b16286" -DARK_AQUA="689d6a" -DARK_ORANGE="d65d0e" -RED="db4934" -GREEN="b8bb26" -BLUE="83a598" -PURPLE="d3869b" -AQUA="8ec07c" -ORANGE="fe8019" - - -# HYPRLAND -hyprland_path="/home/deadvey/dotfiles/.config/hypr/" -# Colours -sed -i "s|^\$GREEN.*|\$GREEN = #$GREEN|" $hyprland_path"hyprland.conf" - diff --git a/scripts/change_waybar_theme.sh b/scripts/change_waybar_theme.sh new file mode 100644 index 00000000..b6bc3816 --- /dev/null +++ b/scripts/change_waybar_theme.sh @@ -0,0 +1,34 @@ +echo "[ + { + \"custom/empty\": { + \"format\": \" \", + \"interval\": 1 + }, + \"height\": $SCREEN_HEIGHT, + \"layer\": \"bottom\", + \"margin-bottom\": 0, + \"margin-top\": 0, + \"mode\": \"overlay\", + \"modules-center\": [ + \"custom/empty\" + ], + \"modules-left\": [], + \"modules-right\": [], + \"name\": \"whiteCornersTop\", + \"position\": \"top\", + \"width\": $SCREEN_WIDTH + } +] +" > $WAYBAR_CONFIG + +echo "window#waybar.whiteCornersTop { + border: 2px solid #$ACCENT; + background-color: transparent; + box-shadow: 0px 0px 0px 60px black, 0px 0px 0px 0.5px #ebdbb2; + border-radius: $((($BORDER_RADIUS+($BORDER_WIDTH))))px; + margin: 20px; +} +" > $WAYBAR_STYLE + +killall waybar +waybar diff --git a/test.txt b/test.txt new file mode 100644 index 00000000..b2dca44b --- /dev/null +++ b/test.txt @@ -0,0 +1,5 @@ + +hello +ma guy +/root awd +whda