Skip to content

Commit

Permalink
new hyprland stuff, new waybar
Browse files Browse the repository at this point in the history
  • Loading branch information
harrythezomby committed Dec 27, 2024
1 parent 4e292be commit dc53c49
Show file tree
Hide file tree
Showing 15 changed files with 345 additions and 160 deletions.
8 changes: 4 additions & 4 deletions cava/config
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ framerate = 200
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
lower_cutoff_freq = 10
lower_cutoff_freq = 20
higher_cutoff_freq = 22050


Expand Down Expand Up @@ -153,7 +153,7 @@ method = noncurses
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
# set 'reverse' to 1 to display frequencies the other way around.
channels = mono
; mono_option = average
mono_option = average
; reverse = 0

# Raw output target. A fifo will be created if target does not exist.
Expand Down Expand Up @@ -183,7 +183,7 @@ channels = mono
# set label on bars on the x-axis. Can be 'frequency' or 'none'. Default: 'none'
# 'frequency' displays the lower cut off frequency of the bar above.
# Only supported on ncurses and noncurses output.
#xaxis = frequency
xaxis = frequency

# enable alacritty synchronized updates. 1 = on, 0 = off
# removes flickering in alacritty terminal emulator.
Expand Down Expand Up @@ -261,7 +261,7 @@ waves = 0
# Noise reduction, int 0 - 100. default 77
# the raw visualization is very noisy, this factor adjusts the integral and gravity filters to keep the signal smooth
# 100 will be very slow and smooth, 0 will be fast but noisy.
; noise_reduction = 77
noise_reduction = 20


[eq]
Expand Down
2 changes: 1 addition & 1 deletion hypr/binds.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ bind = $mainMod SHIFT, s, exec, grim -g "$(slurp)" - | wl-copy && wl-paste > ~/P
bind =, PRINT, exec, grim - | wl-copy && wl-paste > ~/Pictures/Screenshots/Screenshot-$(date +%F_%T).png

# Toggle Monitors Off/On
bind = $mainMod SHIFT CTRL ALT, m, exec,hyprctl dispatch dpms off | hyprctl dispatch dpms on
bind = $mainMod SHIFT CTRL ALT, m, exec, sleep 1 && hyprctl dispatch dpms off

# Access Clipboard
#bind = $mainMod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
Expand Down
4 changes: 2 additions & 2 deletions hypr/env.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
env = XCURSOR_SIZE,24
env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_QPA_PLATFORMTHEME,kde
env = GTK_IM_MODULE,fcitx
env = QT_IM_MODULE,fcitx
env = XMODIFIERS,@im=fcitx

env = QT_STYLE_OVERRIDE=kvantum
env = QT_STYLE_OVERRIDE=kde

env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = ELECTRON_ENABLE_WAYLAND_IME
Expand Down
2 changes: 1 addition & 1 deletion hypr/exec.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Launch apps
# Default
#exec-once = hyprpaper
exec-once = hyprpm reload -n
exec-once = swaync
exec-once = /usr/lib/polkit-kde-authentication-agent-1
exec-once = fcitx5
Expand Down
15 changes: 15 additions & 0 deletions hypr/hyprbars.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plugin {
hyprbars {
# example config
bar_height = 15
bar_text_size = 12
bar_color = rgb(000000)
bar_part_of_window = true
bar_text_font = NotoMono Nerd Font Mono
bar_text_align = left

hyprbars-button = rgb(ff4040), 12,, hyprctl dispatch killactive
hyprbars-button = rgb(eeee11), 10,, hyprctl dispatch fullscreen 1
hyprbars-button = rgb(95ff00), 10,, hyprctl dispatch togglefloating
}
}
7 changes: 4 additions & 3 deletions hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#source=~/.config/hypr/laptop.conf

# PC Specific
#source=~/.config/hypr/pc.conf
source=~/.config/hypr/pc.conf

# Elitebook Specific
source=~/.config/hypr/elitebook.conf
#source=~/.config/hypr/elitebook.conf

# Default Exec
source=~/.config/hypr/exec.conf
Expand Down Expand Up @@ -42,6 +42,7 @@ source=~/.config/hypr/binds.conf
# Hyprcursor
source=~/.config/hypr/cursor.conf


# Hyprbars
source=~/.config/hypr/hyprbars.conf


1 change: 0 additions & 1 deletion hypr/pc.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ workspace=3,monitor:DP-2
#exec-once = openrgb --startminimized
exec-once = waybar
exec-once = hyprpaper
exec-once = flatpak run dev.vencord.Vesktop
exec-once = feishin
exec-once = nicotine
exec-once = sleep 10 && jellyfin-mpv-shim
Expand Down
8 changes: 7 additions & 1 deletion hypr/rules.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Transparency Windowrules
windowrulev2 = opacity 0.65 0.65,class:^(feishin|@joplin/app-desktop|org.kde.dolphin|virt-manager|vesktop|kitty|org.fooyin.fooyin|org.nicotine_plus.Nicotine|virt-manager|org.polkit-kde-authentication-agent-1)$

windowrulev2 = opacity 0.8 0.8,class:^(code)

# Idle Inhibit
windowrulev2 = idleinhibit fullscreen,class:^(looking-glass-client)
Expand All @@ -9,8 +10,13 @@ windowrulev2 = idleinhibit fullscreen,class:^(looking-glass-client)
windowrulev2 = fullscreen,class:^(looking-glass-client)
windowrulev2 = renderunfocused,class:^(looking-glass-client)$


# Setting popups
windowrulev2 = float,class:^(org.pulseaudio.pavucontrol|blueman-manager|nm-connection-editor|org.kde.polkit-kde-authentication-agent-1)
windowrulev2 = size 50% 50%,class:^(org.pulseaudio.pavucontrol|blueman-manager|nm-connection-editor)
windowrulev2 = move 49% 35,class:^(org.pulseaudio.pavucontrol|blueman-manager|nm-connection-editor)

# Hide hyprbars when window is inactive
#windowrulev2 = plugin:hyprbars:nobar,focus:0

# Hide hyprbars
windowrulev2 = plugin:hyprbars:nobar,class:^(firefox)
122 changes: 21 additions & 101 deletions kitty/current-theme.conf
Original file line number Diff line number Diff line change
@@ -1,101 +1,21 @@
# vim:ft=kitty
#: This is a template that can be used to create new kitty themes.
#: Theme files should start with a metadata block consisting of
#: lines beginning with ##. All metadata fields are optional.

## name: Box
## author: D3vil0p3r
## license: GPLv3
## blurb: Hack The Box inspired colorscheme.

#: All the settings below are colors, which you can choose to modify, or use the
#: defaults. You can also add non-color based settings if needed but note that
#: these will not work with using kitty @ set-colors with this theme. For a
#: reference on what these settings do see https://sw.kovidgoyal.net/kitty/conf/

#: The basic colors

foreground #9fef00
background #141d2b
selection_foreground #141d2b
selection_background #a4b1cd


#: Cursor colors

cursor #9fef00
cursor_text_color #111111


#: URL underline color when hovering with mouse

url_color #2ee7b6


#: kitty window border colors and terminal bell colors

active_border_color #00ff00
inactive_border_color #cccccc
bell_border_color #ff5a00
visual_bell_color none


#: OS Window titlebar colors

wayland_titlebar_color system
macos_titlebar_color system


#: Tab bar colors

active_tab_foreground #141d2b
active_tab_background #9fef00
inactive_tab_foreground #141d2b
inactive_tab_background #a4b1cd
tab_bar_background none
tab_bar_margin_color none


#: Colors for marks (marked text in the terminal)

mark1_foreground black
mark1_background #98d3cb
mark2_foreground black
mark2_background #f2dcd3
mark3_foreground black
mark3_background #f274bc


#: The basic 16 colors

#: black
color0 #000000
color8 #767676

#: red
color1 #cc0403
color9 #f2201f

#: green
color2 #19cb00
color10 #23fd00

#: yellow
color3 #cecb00
color11 #fffd00

#: blue
color4 #0d73cc
color12 #1a8fff

#: magenta
color5 #cb1ed1
color13 #fd28ff

#: cyan
color6 #0dcdcd
color14 #14ffff

#: white
color7 #dddddd
color15 #ffffff
background #000000
foreground #ffffff
cursor #bbbbbb
selection_background #b5d5ff
color0 #000000
color8 #545454
color1 #ff5555
color9 #ff5555
color2 #55ff55
color10 #55ff55
color3 #ffff55
color11 #ffff55
color4 #5555ff
color12 #5555ff
color5 #ff55ff
color13 #ff55ff
color6 #55ffff
color14 #55ffff
color7 #bbbbbb
color15 #ffffff
selection_foreground #000000
2 changes: 1 addition & 1 deletion kitty/kitty.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ term xterm-256color


# BEGIN_KITTY_THEME
# Box
# Dark Pastel
include current-theme.conf
# END_KITTY_THEME

Expand Down
2 changes: 1 addition & 1 deletion kitty/kitty.conf.bak
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ term xterm-256color


# BEGIN_KITTY_THEME
# 1984 Dark
# Box
include current-theme.conf
# END_KITTY_THEME

Expand Down
Loading

0 comments on commit dc53c49

Please sign in to comment.