Repository: 7KIR7/dots Branch: main Commit: 1d48467eda64 Files: 41 Total size: 105.2 KB Directory structure: gitextract_io2fhnkm/ ├── README.md ├── dunst/ │ └── dunstrc ├── foot/ │ └── foot.ini ├── fuzzel/ │ └── fuzzel.ini ├── hypr/ │ ├── conf/ │ │ ├── decoration.conf │ │ ├── keybinds.conf │ │ ├── startup.conf │ │ └── windowrules.conf │ ├── hypridle.conf │ ├── hyprland.conf │ ├── hyprlock.conf │ └── hyprpaper.conf ├── i3/ │ └── config ├── kitty/ │ ├── kitty.conf │ └── theme.conf ├── neofetch/ │ └── config.conf ├── picom.conf ├── scripts/ │ └── battery/ │ └── battery-notify.sh ├── sway/ │ ├── config │ └── scripts/ │ ├── idle.sh │ └── lock.sh ├── swaylock/ │ ├── config │ └── qt5ct/ │ └── qt5ct.conf ├── waybar/ │ ├── awe/ │ │ ├── config │ │ └── style.css │ ├── bluish/ │ │ ├── config │ │ └── style.css │ ├── colorful/ │ │ ├── config │ │ ├── scripts/ │ │ │ ├── PBPbattery.sh │ │ │ ├── executable_update.sh │ │ │ ├── keyhint.sh │ │ │ ├── mediaplayer.sh │ │ │ ├── power-menu.sh │ │ │ └── weather.sh │ │ └── style.css │ ├── minimal/ │ │ ├── config │ │ └── style.css │ └── vertical waybar/ │ ├── config │ └── style.css └── wofi/ ├── config └── style.css ================================================ FILE CONTENTS ================================================ ================================================ FILE: README.md ================================================ # fuzzel theme [Best applauncher]([https://www.google.com](https://codeberg.org/dnkl/fuzzel)) ![image](https://github.com/7KIR7/dots/assets/92317276/07cfc70b-a6eb-4d15-82fa-6d649f62a2f5) # waybar themes **_Font Awesome_ is required.** ## Previews **bluish** ![image](https://user-images.githubusercontent.com/92317276/208711637-3648b5ba-b6a1-476f-8f5a-6d145120aa79.png) **awe** ![image](https://user-images.githubusercontent.com/92317276/208711128-f14afe33-d15a-4ef9-b3c5-bfdc5e7c13df.png) **colorful** ![image](https://user-images.githubusercontent.com/92317276/208712733-06bbdea9-2420-4141-854e-f16475c69639.png) **minimal** ![image](https://github.com/7KIR7/dots/assets/92317276/b05aff8d-19f2-439d-9ce0-21d540865a1a) **vertical waybar** ![image](https://user-images.githubusercontent.com/92317276/208713080-7392f8fa-64d7-4665-9454-b56d96c2c60b.png) ================================================ FILE: dunst/dunstrc ================================================ [global] # --- Display --- # # The monitor to be displayed to monitor = 0 # Follow monitor with mouse follow = mouse width = 300 # height = 260 origin = top-right offset = 24x24 progress_bar = true progress_bar_height = 14 progress_bar_frame_width = 1 progress_bar_min_width = 150 progress_bar_max_width = 300 # Show how many messages are hidden indicate_hidden = yes # Shrink window if it's smaller than the width. shrink = no # The transparency of the window. transparency = 1 # Draw a line between multiple notifications separator_height = 6 separator_color = "#282a36" # Set notification padding padding = 16 horizontal_padding = 16 # Disable frame (border) frame_width = 0 # Sort messages by urgency. sort = no # Disable idle time idle_threshold = 0 # --- Text --- # # Set the font # font = "Noto Sans 11" font = "JetBrainsMono 10" # Set line height to font height line_height = 0 # Reference for markup and formatting: # bold # italic # strikethrough # underline # . # %a appname # %s summary # %b body # %i iconname (including its path) # %I iconname (without its path) # %p progress value if set ([ 0%] to [100%]) or nothing # %n progress value if set without any extra characters # %% Literal % markup = full format = "%a\n%s" # Left align the text alignment = left # Vertical alignment of message text and icon. vertical_alignment = center # Show age of message if message is old show_age_threshold = 120 # Wrap text if it doesn't fit in geometry word_wrap = yes # Where to place ellipses if word wrap is disabled # ellipsize = middle # Use newlines '\n' in notifications. ignore_newline = no # Don't stack together notifications stack_duplicates = false # Hide the count of stacked notifications # hide_duplicate_count = false # Display indicators for URLs (U) and actions (A). show_indicators = yes # ---- Icons ---- # # Align icons left/right/off icon_position = left # Scale small icons up to this size, set to 0 to disable. min_icon_size = 50 # Scale larger icons down to this size, set to 0 to disable max_icon_size = 60 # Paths to default icons. icon_path = ~/.local/share/icons/kora/apps/scalable:~/.local/share/icons/kora/status/scalable:~/.local/share/icons/kora/actions/scalable:~/.local/share/icons/kora/emblems/scalable:~/.local/share/icons/kora/devices/scalable # --- History --- # # Avoid timing out hidden notifications sticky_history = yes # Maximum amount of notifications kept in history history_length = 120 # --- Misc/Advanced --- # dmenu = /usr/bin/dmenu -p dunst: # Browser for opening urls in context menu. browser = /usr/bin/firefox -new-tab # Always run rule-defined scripts, even if the notification is suppressed always_run_script = false # Define the title of the windows spawned by dunst title = Dunst # Define the class of the windows spawned by dunst class = Dunst # Define the corner radius of the notification window corner_radius = 10 # Don't gnore the dbus closeNotification message. ignore_dbusclose = false # --- Legacy --- # # Use the Xinerama extension instead of RandR for multi-monitor support. force_xinerama = false # --- Mouse --- # mouse_left_click = close_current mouse_middle_click = do_action, close_current mouse_right_click = close_all [experimental] per_monitor_dpi = false [urgency_low] frame_color = "#1D918B" highlight = "#6fa6e7" foreground = "#FFEE79" background = "#18191E" timeout = 5 [urgency_normal] frame_color = "#D16BB7" highlight = "#5ca1ff" foreground = "#FFEE79" background = "#18191E" timeout = 8 [urgency_critical] frame_color = "#FC2929" highlight = "#fe6c5a" foreground = "#ff4444" background = "#18191E" timeout = 20 icon = battery-ac-adapter [backlight] appname = "Backlight" highlight = "#fc7b80" [music] appname = "Music" [volume] summary = "Volume*" highlight = "#cb8cf4" [battery] appname = "Power Warning" ================================================ FILE: foot/foot.ini ================================================ term=xterm-256color login-shell=no font=Gintronic Medium:size=10.5, Symbols Nerd Font Mono:size=14 pad=10x5 [scrollback] lines=10000 multiplier=3.0 indicator-position=relative [cursor] style=beam blink=yes [colors] alpha=0.85 foreground=dbd0b9 background=192330 selection-foreground=c0caf5 selection-background=283457 urls=73daca regular0=8DB0BB regular1=00FF7F regular2=F89406 regular3=00F8FB regular4=AEA8D3 regular5=ABE338 regular6=6AD4B1 regular7=FF6347 ================================================ FILE: fuzzel/fuzzel.ini ================================================ font=Dank Mono:weight=bold:size=12 line-height=18 fields=name,generic,comment,categories,filename,keywords terminal=foot -e prompt="❯ " layer=overlay lines=10 [colors] background=1e1e2eaa text=cdd6f4ff match=f38ba8ff selection=585b70ff selection-match=f38ba8ff selection-text=cdd6f4ff border=b4befeff [border] radius=20 width=3 ================================================ FILE: hypr/conf/decoration.conf ================================================ # █▀▄ █▀▀ █▀▀ █▀█ █▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▄▀ ██▄ █▄▄ █▄█ █▀▄ █▀█ ░█░ █ █▄█ █░▀█ decoration { # █▀█ █▀█ █░█ █▄░█ █▀▄   █▀▀ █▀█ █▀█ █▄░█ █▀▀ █▀█ # █▀▄ █▄█ █▄█ █░▀█ █▄▀   █▄▄ █▄█ █▀▄ █░▀█ ██▄ █▀▄ rounding = 8 # █▀█ █▀█ ▄▀█ █▀▀ █ ▀█▀ █▄█ # █▄█ █▀▀ █▀█ █▄▄ █ ░█░ ░█░ active_opacity = 1.0 inactive_opacity = 1.0 # █▄▄ █░░ █░█ █▀█ # █▄█ █▄▄ █▄█ █▀▄ blur { enabled = true size = 3 passes = 1 xray = true special = false new_optimizations = true ignore_opacity = true } # █▀ █░█ ▄▀█ █▀▄ █▀█ █░█░█ # ▄█ █▀█ █▀█ █▄▀ █▄█ ▀▄▀▄▀ drop_shadow = true shadow_ignore_window = true shadow_offset = 2 2 shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } # ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ animations { enabled = true # █▄▄ █▀▀ ▀█ █ █▀▀ █▀█   █▀▀ █░█ █▀█ █░█ █▀▀ # █▄█ ██▄ █▄ █ ██▄ █▀▄   █▄▄ █▄█ █▀▄ ▀▄▀ ██▄ bezier=overshot,0.05,0.9,0.1,1.05 bezier=exit,0.9,-.2,0.95,0.05 animation = windows, 1, 5, overshot, slide 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 } ================================================ FILE: hypr/conf/keybinds.conf ================================================ # ----------- # Keybinds # ----------- # Toggle waybar display bind = SUPER, N, exec, pgrep waybar > /dev/null && killall waybar || waybar --config ~/.config/waybar/minimal/config --style ~/.config/waybar/minimal/style.css & # █▀ █▀▀ █▀█ █▀▀ █▀▀ █▄░█ █▀ █░█ █▀█ ▀█▀ # ▄█ █▄▄ █▀▄ ██▄ ██▄ █░▀█ ▄█ █▀█ █▄█ ░█░ bind=SUPER,Print,exec,IMG=~/Pictures/screenshot/ss_$(date +%Y%m%d_%H%M%S).png && grim $IMG && wl-copy < $IMG && notify-send "Screenshot saved" bind=SUPER,S,exec,grim -g "$(slurp)" - | wl-copy && notify-send "Screenshot copied" bind=SUPER SHIFT,Print,exec,IMG=~/Pictures/screenshot/sss_$(date +%Y%m%d_%H%M%S).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG && notify-send "Screenshot saved" # ▒█▀▄▒██▀░▄▀▀░▄▀▄▒█▀▄░█▀▄░█░█▄░█░▄▀▒ # ░█▀▄░█▄▄░▀▄▄░▀▄▀░█▀▄▒█▄▀░█░█▒▀█░▀▄█ #bind=SUPER,v,exec,kooha bind=SUPER,v,exec,wf-recorder -g "$(slurp)" --audio=alsa_output.pci-0000_08_00.6.analog-stereo.monitor -f ~/Videos/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4") bind=SUPER,BackSpace,exec,killall -s SIGINT wf-recorder; exec killall ffmpeg && exec notify-send "Recording Saved" # █▀▄▀█ █ █▀ █▀▀ # █░▀░█ █ ▄█ █▄▄ bind = SUPER, X, exec, hyprpicker -a -n bind = SUPER, 0, exec, hyprlock bind = SUPER, Return, exec, footclient bind = SUPER, E, exec, thunar bind = SUPER, L, exec, wlogout bind = SUPER, D, exec, killall fuzzel || fuzzel # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀▄▀█ ▄▀█ █▄░█ ▄▀█ █▀▀ █▀▄▀█ █▀▀ █▄░█ ▀█▀ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █░▀░█ █▀█ █░▀█ █▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░ bind = ALT, Q, killactive, #bind = SUPER SHIFT, Q, exit, bind = SUPER, F, fullscreen, bind = SUPER, Space, togglefloating, bind = SUPER, P, pseudo, # dwindle bind = SUPERSHIFT, S, togglesplit, # dwindle # █▀▀ █▀█ █▀▀ █░█ █▀ # █▀░ █▄█ █▄▄ █▄█ ▄█ bind = SUPER, left, movefocus, l bind = SUPER, right, movefocus, r bind = SUPER, up, movefocus, u bind = SUPER, down, movefocus, d # █▀▄▀█ █▀█ █░█ █▀▀ # █░▀░█ █▄█ ▀▄▀ ██▄ bind = SUPER SHIFT, left, movewindow, l bind = SUPER SHIFT, right, movewindow, r bind = SUPER SHIFT, up, movewindow, u bind = SUPER SHIFT, down, movewindow, d # █▀█ █▀▀ █▀ █ ▀█ █▀▀ # █▀▄ ██▄ ▄█ █ █▄ ██▄ bind = SUPER CTRL, left, resizeactive, -20 0 bind = SUPER CTRL, right, resizeactive, 20 0 bind = SUPER CTRL, up, resizeactive, 0 -20 bind = SUPER CTRL, down, resizeactive, 0 20 # ▀█▀ ▄▀█ █▄▄ █▄▄ █▀▀ █▀▄ # ░█░ █▀█ █▄█ █▄█ ██▄ █▄▀ bind= SUPER, g, togglegroup bind= ALT, tab, changegroupactive # █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░ # ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄ bind = SUPER, grave, togglespecialworkspace bind = SUPERSHIFT, grave, movetoworkspace, special binds:allow_workspace_cycles binds { allow_workspace_cycles = true } bind= SUPER,TAB,workspace,previous # █▀ █░█░█ █ ▀█▀ █▀▀ █░█ # ▄█ ▀▄▀▄▀ █ ░█░ █▄▄ █▀█ 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 SHIFT, right, workspace, e+1 bind = SUPER SHIFT, left, workspace, e-1 # █▀▄▀█ █▀█ █░█ █▀▀ # █░▀░█ █▄█ ▀▄▀ ██▄ 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 # █▀▄▀█ █▀█ █░█ █▀ █▀▀   █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ # █░▀░█ █▄█ █▄█ ▄█ ██▄   █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow bind = SUPER, mouse_down, workspace, e+1 bind = SUPER, mouse_up, workspace, e-1 #Media Keys bind=,XF86AudioRaiseVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ +5% bind=,XF86AudioLowerVolume,exec,pactl set-sink-volume @DEFAULT_SINK@ -5% bind=,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle bind=,XF86AudioMicMute,exec,pactl set-source-mute @DEFAULT_SOURCE@ toggle bind=,XF86AudioNext,exec,mpc next bind=,XF86AudioPlay,exec,mpc toggle bind=,XF86AudioStop,exec,mpc stop bind=,XF86AudioPrev,exec,mpc prev bind=,XF86MonBrightnessDown,exec,brightnessctl set 5%- bind=,XF86MonBrightnessUp,exec,brightnessctl set +5% #Poweroff, reboot bind=SUPERSHIFT,End,exec,poweroff bind=SUPERSHIFT,Home,exec,reboot ================================================ FILE: hypr/conf/startup.conf ================================================ # ----------- # Startup # ----------- # Load Hyprpaper exec = hyprpaper # Start Pipewire exec-once= pipewire exec-once= wireplumber exec-once= pipewire-pulse # Start Polkit exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Load Dunst Notification Manager exec-once = dunst # Start Foot term server exec-once = foot --server # Load NM applet exec-once = nm-applet # Load Waybar exec-once = waybar --config ~/.config/waybar/minimal/config --style ~/.config/waybar/minimal/style.css # For screen sharing exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Clipboard exec-once = wl-clipboard-history -t # Hypridle exec-once = hypridle #exec-once = ~/.config/sway/scripts/idle.sh # Gnome keyring exec-once = gnome-keyring-daemonlock # Set brightness to 5% exec = brightnessctl set 0% ================================================ FILE: hypr/conf/windowrules.conf ================================================ # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ windowrule = float, file_progress windowrule = float, confirm windowrule = float, dialog windowrule = float, download windowrule = float, notification windowrule = float, error windowrule = float, splash windowrule = float, confirmreset windowrule = float, title:Open File windowrule = float, title:branchdialog windowrule = float, wofi windowrule = animation none,wofi windowrule = float,viewnior windowrule = float,feh windowrule = float, pavucontrol-qt windowrule = float, pavucontrol windowrule = float, file-roller windowrule = fullscreen, wlogout windowrule = float, title:wlogout windowrule = fullscreen, title:wlogout windowrule = idleinhibit focus, mpv windowrule = idleinhibit fullscreen, firefox windowrule = float, title:^(Media viewer)$ windowrule = float, title:^(Volume Control)$ windowrule = float, title:^(Picture-in-Picture)$ windowrule = size 800 600, title:^(Volume Control)$ windowrule = move 75 44%, title:^(Volume Control)$ windowrule = float,^(pavucontrol)$ layerrule = blur,waybar layerrule = blur,launcher layerrule = blur,code layerrule = blur,gtk-layer-shell ================================================ FILE: hypr/hypridle.conf ================================================ general { #lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session) #unlock_cmd = notify-send "unlock!" # same as above, but unlock before_sleep_cmd = notify-send "zZ!" # command ran before sleep after_sleep_cmd = hyprlock # command ran after sleep ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) } #Lock Screen listener { timeout = 180 # in seconds on-timeout = hyprlock # command to run when timeout has passed #on-resume = notify-send "Welcome back!" # command to run when activity is detected after timeout has fired. } #Suspend listener { timeout = 210 on-timeout = systemctl suspend } ================================================ FILE: hypr/hyprland.conf ================================================ # █▀▀ ▀▄▀ █▀▀ █▀▀ # ██▄ █░█ ██▄ █▄▄ # Startup source = ~/.config/hypr/conf/startup.conf # Keybinds source = ~/.config/hypr/conf/keybinds.conf # Decoration source = ~/.config/hypr/conf/decoration.conf # Window Rules source = ~/.config/hypr/conf/windowrules.conf # █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ # █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ #monitor= eDP-1,highrr,auto,1 monitor = eDP-1, 1920x1080@48,auto,1 #monitor = eDP-1,1366x768@60,0x0,1 #extended display #monitor = ,preferred,0x1080,1 #mirrored monitor = ,preferred,auto,1,mirror,LVDS-1 # █ █▄░█ █▀█ █░█ ▀█▀ # █ █░▀█ █▀▀ █▄█ ░█░ input { kb_layout = us follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = no disable_while_typing = yes } } # █▀▀ █▀▀ █▄░█ █▀▀ █▀█ ▄▀█ █░░ # █▄█ ██▄ █░▀█ ██▄ █▀▄ █▀█ █▄▄ general { #main_mod=SUPER gaps_in=4 gaps_out=6 border_size=2 no_border_on_floating = true layout = dwindle col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) } # █▀▄▀█ █ █▀ █▀▀ # █░▀░█ █ ▄█ █▄▄ misc { disable_hyprland_logo = true disable_splash_rendering = true mouse_move_enables_dpms = true enable_swallow = true } # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀ # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█ dwindle { no_gaps_when_only = false pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # you probably want this } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more # Laptop three finger gesture workspace_swipe = on workspace_swipe_distance = 500 workspace_swipe_min_speed_to_force = 100 workspace_swipe_cancel_ratio = 0.1 } ================================================ FILE: hypr/hyprlock.conf ================================================ background { monitor = path = $HOME/Pictures/wallpaper/ctp-shoreline.png # only png supported for now color = rgba(25, 20, 20, 1.0) # all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations blur_passes = 4 # 0 disables blurring blur_size = 2 noise = 0.0117 contrast = 0.8916 brightness = 0.8172 vibrancy = 0.1696 vibrancy_darkness = 0.0 } input-field { monitor = size = 200, 50 outline_thickness = 1 dots_size = 0.2 # 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 = rgb(000000) inner_color = rgb(200, 200, 200) font_color = rgb(10, 10, 10) fade_on_empty = true placeholder_text = Input Password... # Text rendered in the input box when it's empty. hide_input = false position = 0, -20 halign = center valign = center } label { monitor = text = Enter your password to unlock color = rgba(200, 200, 200, 1.0) font_size = 25 font_family = Noto Sans position = 0, 200 halign = center valign = center } ================================================ FILE: hypr/hyprpaper.conf ================================================ preload = ~/Pictures/wallpaper/cat_leaves.png wallpaper = , ~/Pictures/wallpaper/cat_leaves.png ipc = off ================================================ FILE: i3/config ================================================ # i3 config file (v4) # Please see http://i3wm.org/docs/userguide.html for a complete reference! # Set mod key (Mod1=, Mod4=) set $mod Mod4 #start always exec_always --no-startup-id xinput set-prop 13 311 0 exec_always --no-startup-id bash ~/.config/polybar/launch.sh --forest exec_always --no-startup-id picom --experimental-backend #dunst bindsym $mod+o exec notify-send -t 3500 "$(date '+%a %b %e %r')" bindsym $mod+i exec notify-send "$(curl wttr.in/pokhara?format=3)" #poweroff, reboot shortcuts bindsym $mod+Shift+End exec poweroff bindsym $mod+Shift+Home exec reboot # set default desktop layout (default is tiling) # workspace_layout tabbed # Configure border style default_border pixel 2 default_floating_border normal # Hide borders hide_edge_borders none # change borders bindsym $mod+u border none bindsym $mod+y border pixel 1 bindsym $mod+n border normal # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font xft:URWGothic-Book 11 # Use Mouse+$mod to drag floating windows floating_modifier $mod # start a terminal bindsym $mod+Return exec kitty # kill focused window bindsym $mod+F4 kill # start program launcher bindsym $mod+d exec --no-startup-id .config/rofi/launchers/ribbon/launcher.sh ################################################################################################ ## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ## ################################################################################################ exec --no-startup-id volumeicon bindsym $mod+Ctrl+m exec terminal -e 'alsamixer' #exec --no-startup-id pulseaudio #exec --no-startup-id pa-applet #bindsym $mod+Ctrl+m exec pavucontrol ################################################################################################ # Screen brightness controls # bindsym XF86MonBrightnessUp exec "xbacklight -inc 5; notify-send 'brightness up'" # bindsym XF86MonBrightnessDown exec "xbacklight -dec 5; notify-send 'brightness down'" # Start Applications bindsym $mod+F3 exec thunar # bindsym $mod+F3 exec ranger bindsym $mod+F5 exec terminal -e 'mocp' bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'" bindsym Print exec --no-startup-id i3-scrot bindsym $mod+Print --release exec --no-startup-id i3-scrot -w bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf bindsym $mod+Ctrl+x --release exec --no-startup-id xkill # focus_follows_mouse no # change focus bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+semicolon focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+semicolon move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # workspace back and forth (with/without active container) workspace_auto_back_and_forth yes bindsym $mod+Tab workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth # split orientation bindsym $mod+h split h;exec notify-send 'tile horizontally' bindsym $mod+v split v;exec notify-send 'tile vertically' bindsym $mod+q split toggle # toggle fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # toggle sticky bindsym $mod+Shift+s sticky toggle # focus the parent container bindsym $mod+a focus parent # move the currently focused window to the scratchpad bindsym $mod+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym $mod+minus scratchpad show #navigate workspaces next / previous bindsym $mod+Ctrl+Right workspace next bindsym $mod+Ctrl+Left workspace prev # Workspace names # to display names or symbols instead of plain workspace numbers you can use # something like: set $ws1 1:mail # set $ws2 2: set $ws1 1 set $ws2 2 set $ws3 3 set $ws4 4 set $ws5 5 set $ws6 6 set $ws7 7 set $ws8 8 # switch to workspace bindsym $mod+1 workspace $ws1 bindsym $mod+2 workspace $ws2 bindsym $mod+3 workspace $ws3 bindsym $mod+4 workspace $ws4 bindsym $mod+5 workspace $ws5 bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 # Move focused container to workspace bindsym $mod+Ctrl+1 move container to workspace $ws1 bindsym $mod+Ctrl+2 move container to workspace $ws2 bindsym $mod+Ctrl+3 move container to workspace $ws3 bindsym $mod+Ctrl+4 move container to workspace $ws4 bindsym $mod+Ctrl+5 move container to workspace $ws5 bindsym $mod+Ctrl+6 move container to workspace $ws6 bindsym $mod+Ctrl+7 move container to workspace $ws7 bindsym $mod+Ctrl+8 move container to workspace $ws8 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 # Open applications on specific workspaces # assign [class="Thunderbird"] $ws1 # assign [class="Pale moon"] $ws2 # assign [class="Pcmanfm"] $ws3 # assign [class="Skype"] $ws5 # Open specific applications in floating mode for_window [title="alsamixer"] floating enable border pixel 1 for_window [class="calamares"] floating enable border normal for_window [class="Clipgrab"] floating enable for_window [title="File Transfer*"] floating enable for_window [class="fpakman"] floating enable for_window [class="Galculator"] floating enable border pixel 1 for_window [class="GParted"] floating enable border normal for_window [title="i3_help"] floating enable sticky enable border normal for_window [class="Lightdm-settings"] floating enable for_window [class="Lxappearance"] floating enable sticky enable border normal for_window [class="Manjaro-hello"] floating enable for_window [class="Manjaro Settings Manager"] floating enable border normal for_window [title="MuseScore: Play Panel"] floating enable for_window [class="Nitrogen"] floating enable sticky enable border normal for_window [class="Oblogout"] fullscreen enable for_window [class="octopi"] floating enable for_window [title="About Pale Moon"] floating enable for_window [class="Pamac-manager"] floating enable for_window [class="Pavucontrol"] floating enable for_window [class="qt5ct"] floating enable sticky enable border normal for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal for_window [class="Simple-scan"] floating enable border normal for_window [class="(?i)System-config-printer.py"] floating enable border normal for_window [class="Skype"] floating enable border normal for_window [class="Timeset-gui"] floating enable border normal for_window [class="(?i)virtualbox"] floating enable border normal for_window [class="Xfburn"] floating enable # switch to workspace with urgent window automatically for_window [urgent=latest] focus # reload the configuration file bindsym $mod+Shift+c reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # Set shut down, restart and locking features bindsym $mod+0 mode "$mode_system" set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown mode "$mode_system" { bindsym l exec --no-startup-id i3exit lock, mode "default" bindsym s exec --no-startup-id i3exit suspend, mode "default" bindsym u exec --no-startup-id i3exit switch_user, mode "default" bindsym e exec --no-startup-id i3exit logout, mode "default" bindsym h exec --no-startup-id i3exit hibernate, mode "default" bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default" # exit system mode: "Enter" or "Escape" bindsym Return mode "default" bindsym Escape mode "default" } # Resize window (you can also use the mouse for that) bindsym $mod+r mode "resize" mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym j resize shrink width 5 px or 5 ppt bindsym k resize grow height 5 px or 5 ppt bindsym l resize shrink height 5 px or 5 ppt bindsym semicolon resize grow width 5 px or 5 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt # exit resize mode: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } # Lock screen bindsym $mod+9 exec --no-startup-id blurlock # Autostart applications exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id nitrogen --restore; sleep 1; #exec --no-startup-id manjaro-hello exec --no-startup-id nm-applet exec --no-startup-id xfce4-power-manager exec --no-startup-id pamac-tray exec --no-startup-id clipit # exec --no-startup-id blueman-applet # exec_always --no-startup-id sbxkb exec --no-startup-id start_conky_green #exec --no-startup-id start_conky_grey exec --no-startup-id xautolock -time 10 -locker blurlock exec_always --no-startup-id ff-theme-util exec_always --no-startup-id fix_xcursor # Color palette used for the terminal ( ~/.Xresources file ) # Colors are gathered based on the documentation: # https://i3wm.org/docs/userguide.html#xresources # Change the variable name at the place you want to match the color # of your terminal like this: # [example] # If you want your bar to have the same background color as your # terminal background change the line 362 from: # background #14191D # to: # background $term_background # Same logic applied to everything else. set_from_resource $term_background background set_from_resource $term_foreground foreground set_from_resource $term_color0 color0 set_from_resource $term_color1 color1 set_from_resource $term_color2 color2 set_from_resource $term_color3 color3 set_from_resource $term_color4 color4 set_from_resource $term_color5 color5 set_from_resource $term_color6 color6 set_from_resource $term_color7 color7 set_from_resource $term_color8 color8 set_from_resource $term_color9 color9 set_from_resource $term_color10 color10 set_from_resource $term_color11 color11 set_from_resource $term_color12 color12 set_from_resource $term_color13 color13 set_from_resource $term_color14 color14 set_from_resource $term_color15 color15 ############################# ### settings for i3-gaps: ### ############################# # Set inner/outer gaps gaps inner 7 gaps outer 1 # Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. # gaps inner|outer current|all set|plus|minus # gaps inner all set 10 # gaps outer all plus -2 # Smart gaps (gaps used if only more than one container on the workspace) smart_gaps inverse_outer # Smart borders (draw borders around container only if it is not the only container on this workspace) # on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) smart_borders on # Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. set $mode_gaps Gaps: (o) outer, (i) inner set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) bindsym $mod+Shift+g mode "$mode_gaps" mode "$mode_gaps" { bindsym o mode "$mode_gaps_outer" bindsym i mode "$mode_gaps_inner" bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_inner" { bindsym plus gaps inner current plus 5 bindsym minus gaps inner current minus 5 bindsym 0 gaps inner current set 0 bindsym Shift+plus gaps inner all plus 5 bindsym Shift+minus gaps inner all minus 5 bindsym Shift+0 gaps inner all set 0 bindsym Return mode "default" bindsym Escape mode "default" } mode "$mode_gaps_outer" { bindsym plus gaps outer current plus 5 bindsym minus gaps outer current minus 5 bindsym 0 gaps outer current set 0 bindsym Shift+plus gaps outer all plus 5 bindsym Shift+minus gaps outer all minus 5 bindsym Shift+0 gaps outer all set 0 bindsym Return mode "default" bindsym Escape mode "default" } ================================================ FILE: kitty/kitty.conf ================================================ include ./theme.conf allow_remote_control yes # Fonts font_family Gintronic bold_font Gintronic-Bold italic_font Gintronic-RegularItalic bold_italic_font Gintronic-BoldItalic font_size 10.0 # Window layout remember_window_size yes window_padding_width 4.0 window_border_width 2.0 window_margin_width 2.0 active_border_color #d8d8d8 inactive_border_color #6a7984 inactive_text_alpha 0.65 #hide_window_decorations yes # Tab bar tab_bar_style separator tab_separator " | " active_tab_foreground #000 active_tab_background #eee active_tab_font_style bold-italic inactive_tab_foreground #444 inactive_tab_background #999 inactive_tab_font_style normal background_opacity .9 # OS specific macos_option_as_alt no # Keyboard shortcuts # Window management # open a new window and a new tap at the same cwd map ctrl+shift+enter new_window_with_cwd map ctrl+shift+t new_tab_with_cwd map ctrl+shift+k previous_window map ctrl+shift+j next_window # Window resizing map ctrl+left resize_window narrower map ctrl+right resize_window wider map ctrl+up resize_window taller map ctrl+down resize_window shorter # Font sizes map cmd+0 change_font_size all 0 map cmd+0x1E change_font_size all +1.0 map cmd+minus change_font_size all -1.0 map kitty_mod+0 change_font_size all 0 map kitty_mod+plus change_font_size all +1.0 map kitty_mod+minus change_font_size all -1.0 # Move by words map alt+left send_text all \x1b\x62 map alt+right send_text all \x1b\x66 ================================================ FILE: kitty/theme.conf ================================================ background #192330 foreground #dbd0b9 cursor #bbbbbb selection_background #f3e0b8 selection_foreground #011627 color0 #C8F7C5 color1 #7FFFD4 color2 #BAF73C color3 #7462E0 color4 #38F689 color5 #ABE338 color6 #6AD4B1 color7 #F5D76E color8 #8DB0BB color9 #FFECDB color10 #F1A9A0 color11 #AEA8D3 color12 #BE90D4 color13 #E08283 color14 #B381B3 color15 #9370DB ================================================ FILE: neofetch/config.conf ================================================ print_info() { prin "$(color 3)┌─────────────────────────────────────┐" info "$(color 1)  OS " distro info "$(color 2)  KER" kernel info "$(color 3)  UP " uptime info "$(color 4)  PKG" packages info "$(color 5)  CPU" cpu info "$(color 6)  TRM" term info "$(color 7)  MEM" memory info "$(color 8)  WM " wm prin "$(color 3)└─────────────────────────────────────┘" prin " \n \n \n \n \n $(color 1) \n \n $(color 2) \n \n $(color 3) \n \n $(color 4) \n \n $(color 5) \n \n $(color 6) \n \n $(color 7) \n \n $(color 0)" } # Title # Hide/Show Fully qualified domain name. title_fqdn="off" # Kernel kernel_shorthand="on" # Distro distro_shorthand="off" # Show/Hide OS Architecture. os_arch="on" # Uptime # Shorten the output of the uptime function uptime_shorthand="on" # Memory # Show memory pecentage in output. memory_percent="off" # Change memory output unit. memory_unit="gib" # Packages # Show/Hide Package Manager names. package_managers="on" # Shell # Show the path to $SHELL shell_path="off" # Show $SHELL version shell_version="on" # CPU # CPU speed type speed_type="bios_limit" # CPU speed shorthand speed_shorthand="off" # Enable/Disable CPU brand in output. cpu_brand="on" # CPU Speed cpu_speed="on" # CPU Cores cpu_cores="logical" # CPU Temperature cpu_temp="off" # GPU # Enable/Disable GPU Brand gpu_brand="on" # Which GPU to display gpu_type="dedicated" # Resolution # Display refresh rate next to each monitor refresh_rate="off" # Gtk Theme / Icons / Font # Shorten output of GTK Theme / Icons / Font gtk_shorthand="off" # Enable/Disable gtk2 Theme / Icons / Font gtk2="on" # Enable/Disable gtk3 Theme / Icons / Font gtk3="on" # IP Address # Website to ping for the public IP public_ip_host="http://ident.me" # Public IP timeout. public_ip_timeout=2 # Desktop Environment # Show Desktop Environment version de_version="on" # Disk # Which disks to display. disk_show=('/') # Disk subtitle. disk_subtitle="mount" # Disk percent. disk_percent="on" # Text Colors colors=(distro) # Text Options # Toggle bold text bold="on" # Enable/Disable Underline underline_enabled="on" # Underline character underline_char="-" # Info Separator separator=":" # Color Blocks # Color block range block_range=(0 15) # Toggle color blocks color_blocks="on" # Color block width in spaces block_width=3 # Color block height in lines block_height=1 # Color Alignment col_offset="auto" # Progress Bars # Bar characters bar_char_elapsed="-" bar_char_total="=" # Toggle Bar border bar_border="on" # Progress bar length in spaces bar_length=15 # Progress bar colors bar_color_elapsed="distro" bar_color_total="distro" # Info display cpu_display="off" memory_display="off" battery_display="off" disk_display="off" # Backend Settings # Image backend. # # Default: 'ascii' # Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', # 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' # Flag: --backend image_backend="kitty" # Image Source # # Which image or ascii file to display. # # Default: 'auto' # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' # 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' # Flag: --source # # NOTE: 'auto' will pick the best image source for whatever image backend is used. # In ascii mode, distro ascii art will be used and in an image mode, your # wallpaper will be used. image_source=~/.config/neofetch/pixel.png # Ascii Options # Ascii distro # Which distro's ascii art to display. # # Default: 'auto' # Values: 'auto', 'distro_name' # Flag: --ascii_distro # NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", # "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, # ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, # Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, # BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, # Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, # Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, # DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, # EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, # FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, # gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, # Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, # Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, # LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, # Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, # Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, # NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, # OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, # Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, # popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, # Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, # Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, # Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, # SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, # openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, # Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, # Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, # and IRIX have ascii logos # NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. # Use '{distro name}_old' to use the old logos. # NOTE: Ubuntu has flavor variants. # Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, # Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. # NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, # CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, # Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, # Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, # Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, # postmarketOS, and Void have a smaller logo variant. # Use '{distro name}_small' to use the small variants. ascii_distro="Arch" # Ascii Colors # # Default: 'distro' # Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' # Flag: --ascii_colors # # Example: # ascii_colors=(distro) - Ascii is colored based on Distro colors. # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. ascii_colors=(distro) # Bold ascii logo # Whether or not to bold the ascii logo. # # Default: 'on' # Values: 'on', 'off' # Flag: --ascii_bold ascii_bold="on" # Image Options # Image loop image_loop="off" # Thumbnail directory thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" # Crop mode crop_mode="normal" # Crop offset crop_offset="center" # Image size image_size="200px" # Gap between image and text gap=3 # Image offsets yoffset=0 xoffset=0 ================================================ FILE: picom.conf ================================================ ################################ # Animations # ################################# # requires https://github.com/jonaburg/picom # (These are also the default values) transition-length = 300 transition-pow-x = 0 transition-pow-y = 0 transition-pow-w = 0 transition-pow-h = 0 spawn-center-screen = false spawn-center = false size-transition = false ################################# # Corners # ################################# # requires: https://github.com/sdhand/compton or https://github.com/jonaburg/picom corner-radius = 17.0; rounded-corners-exclude = [ #"window_type = 'normal'", "class_g = 'firefox'", "class_g = 'kitty'", "class_g = 'Code'", "class_g = 'Vlc'", "class_g = 'i3-frame'", "class_g = 'Polybar'", "class_g = 'Nitrogen'", "class_g = 'Dunst'", "class_g = 'TelegramDesktop'", "class_g = 'VirtualBox Manager'", ]; round-borders = 1; round-borders-exclude = [ #"class_g = 'TelegramDesktop'", ]; ################################# # Shadows # ################################# # Enabled client-side shadows on windows. Note desktop windows # (windows with '_NET_WM_WINDOW_TYPE_DESKTOP') never get shadow, # unless explicitly requested using the wintypes option. # # shadow = false shadow = false; # The blur radius for shadows, in pixels. (defaults to 12) # shadow-radius = 12 shadow-radius = 10; # The opacity of shadows. (0.0 - 1.0, defaults to 0.75) shadow-opacity = 0.2; # The left offset for shadows, in pixels. (defaults to -15) # shadow-offset-x = -15 shadow-offset-x = -7; # The top offset for shadows, in pixels. (defaults to -15) # shadow-offset-y = -15 shadow-offset-y = -7; # Avoid drawing shadows on dock/panel windows. This option is deprecated, # you should use the *wintypes* option in your config file instead. # # no-dock-shadow = false # Don't draw shadows on drag-and-drop windows. This option is deprecated, # you should use the *wintypes* option in your config file instead. # # no-dnd-shadow = false # Red color value of shadow (0.0 - 1.0, defaults to 0). # shadow-red = 0 # Green color value of shadow (0.0 - 1.0, defaults to 0). # shadow-green = 0 # Blue color value of shadow (0.0 - 1.0, defaults to 0). # shadow-blue = 0 # Do not paint shadows on shaped windows. Note shaped windows # here means windows setting its shape through X Shape extension. # Those using ARGB background is beyond our control. # Deprecated, use # shadow-exclude = 'bounding_shaped' # or # shadow-exclude = 'bounding_shaped && !rounded_corners' # instead. # # shadow-ignore-shaped = '' # Specify a list of conditions of windows that should have no shadow. # # examples: # shadow-exclude = "n:e:Notification"; # # shadow-exclude = [] shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "class_g = 'slop'", "class_g = 'Polybar'", "_GTK_FRAME_EXTENTS@:c" ]; # Specify a X geometry that describes the region in which shadow should not # be painted in, such as a dock window region. Use # shadow-exclude-reg = "x10+0+0" # for example, if the 10 pixels on the bottom of the screen should not have shadows painted on. # # shadow-exclude-reg = "" # Crop shadow of a window fully on a particular Xinerama screen to the screen. # xinerama-shadow-crop = false ################################# # Fading # ################################# # Fade windows in/out when opening/closing and when opacity changes, # unless no-fading-openclose is used. # fading = false fading = false; # Opacity change between steps while fading in. (0.01 - 1.0, defaults to 0.028) # fade-in-step = 0.028 fade-in-step = 0.03; # Opacity change between steps while fading out. (0.01 - 1.0, defaults to 0.03) # fade-out-step = 0.03 fade-out-step = 0.03; # The time between steps in fade step, in milliseconds. (> 0, defaults to 10) # fade-delta = 10 # Specify a list of conditions of windows that should not be faded. # don't need this, we disable fading for all normal windows with wintypes: {} fade-exclude = [ "class_g = 'slop'", # maim ] # Do not fade on window open/close. # no-fading-openclose = false # Do not fade destroyed ARGB windows with WM frame. Workaround of bugs in Openbox, Fluxbox, etc. # no-fading-destroyed-argb = false ################################# # Transparency / Opacity # ################################# # Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) # inactive-opacity = 1 inactive-opacity = 1; # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # frame-opacity = 1.0 frame-opacity = 1; # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # menu-opacity = 1.0 # menu-opacity is depreciated use dropdown-menu and popup-menu instead. #If using these 2 below change their values in line 510 & 511 aswell popup_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.8; } # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. # inactive-opacity-override = true inactive-opacity-override = false; # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) active-opacity = 1.0; # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) inactive-dim = 0.1 # Specify a list of conditions of windows that should always be considered focused. # focus-exclude = [] focus-exclude = [ "class_g = 'Cairo-clock'", "class_g = 'Bar'", # lemonbar "class_g = 'slop'", # maim ]; # Use fixed inactive dim value, instead of adjusting according to window opacity. # inactive-dim-fixed = 1.0 # Specify a list of opacity rules, in the format `PERCENT:PATTERN`, # like `50:name *= "Firefox"`. picom-trans is recommended over this. # Note we don't make any guarantee about possible conflicts with other # programs that set '_NET_WM_WINDOW_OPACITY' on frame or client windows. # example: # opacity-rule = [ "80:class_g = 'URxvt'" ]; # # opacity-rule = [] opacity-rule = [ "80:class_g = 'kitty' && focused", "70:class_g = 'kitty' && !focused", "88:class_g = 'Xed' && focused", "75:class_g = 'Xed' && !focused", "80:class_g = 'Thunar' && focused", "70:class_g = 'Thunar' && !focused", "95:class_g = 'Spotify' && focused", "80:class_g = 'Spotify' && !focused", "100:class_g = 'firefox' && focused", "95:class_g = 'firefox' && !focused", "100:class_g = 'Vlc' && focused", "100:class_g = 'Vlc' && !focused", "80:class_g = 'Rofi'", "95:window_type = 'normal' && focused", "85:window_type = 'normal' && !focused", "95:window_type = 'dialog'", "50:window_type = 'popup_menu'", "50:window_type = 'notification'" ]; ################################# # Background-Blurring # ################################# # Parameters for background blurring, see the *BLUR* section for more information. blur-method = "dual_kawase"; blur-size = 12; # # blur-deviation = false # Blur background of semi-transparent / ARGB windows. # Bad in performance, with driver-dependent behavior. # The name of the switch may change without prior notifications. # # blur-background = true; # Blur background of windows when the window frame is not opaque. # Implies: # blur-background # Bad in performance, with driver-dependent behavior. The name may change. # # blur-background-frame = false; # Use fixed blur strength rather than adjusting according to window opacity. # blur-background-fixed = false; # Specify the blur convolution kernel, with the following format: # example: # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; # # blur-kern = '' # blur-kern = "3x3box"; blur: { # requires: https://github.com/ibhagwan/picom method = "dual_kawase"; #method = "kernel"; strength = 2; # deviation = 1.0; # kernel = "11x11gaussian"; background = false; background-frame = false; background-fixed = false; kern = "3x3box"; } # Exclude conditions for background blur. blur-background-exclude = [ #"window_type = 'dock'", #"window_type = 'desktop'", #"class_g = 'URxvt'", # # prevents picom from blurring the background # when taking selection screenshot with `main` # https://github.com/naelstrof/maim/issues/130 "class_g = 'slop'", "_GTK_FRAME_EXTENTS@:c", "name *= 'rect-overlay'", # remove blur during screenshare in teams ]; ################################# # General Settings # ################################# # Daemonize process. Fork to background after initialization. Causes issues with certain (badly-written) drivers. # daemon = false # Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`. # `xrender` is the default one. # experimental-backends = true; backend = "glx"; #backend = "xrender"; # Enable/disable VSync. # vsync = false vsync = true # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. # dbus = false # Try to detect WM windows (a non-override-redirect window with no # child that has 'WM_STATE') and mark them as active. # # mark-wmwin-focused = false mark-wmwin-focused = true; # Mark override-redirect windows that doesn't have a child window with 'WM_STATE' focused. mark-ovredir-focused = false # mark-ovredir-focused = true; # Try to detect windows with rounded corners and don't consider them # shaped windows. The accuracy is not very high, unfortunately. # # detect-rounded-corners = false detect-rounded-corners = true; # Detect '_NET_WM_OPACITY' on client windows, useful for window managers # not passing '_NET_WM_OPACITY' of client windows to frame windows. # # detect-client-opacity = false detect-client-opacity = true; # Specify refresh rate of the screen. If not specified or 0, picom will # try detecting this with X RandR extension. # # refresh-rate = 60 refresh-rate = 0 # Limit picom to repaint at most once every 1 / 'refresh_rate' second to # boost performance. This should not be used with # vsync drm/opengl/opengl-oml # as they essentially does sw-opti's job already, # unless you wish to specify a lower refresh rate than the actual value. # # sw-opti = # Use EWMH '_NET_ACTIVE_WINDOW' to determine currently focused window, # rather than listening to 'FocusIn'/'FocusOut' event. Might have more accuracy, # provided that the WM supports it. # # use-ewmh-active-win = false # Unredirect all windows if a full-screen opaque window is detected, # to maximize performance for full-screen windows. Known to cause flickering # when redirecting/unredirecting windows. paint-on-overlay may make the flickering less obvious. # # unredir-if-possible = false # Delay before unredirecting the window, in milliseconds. Defaults to 0. # unredir-if-possible-delay = 0 # Conditions of windows that shouldn't be considered full-screen for unredirecting screen. # unredir-if-possible-exclude = [] # Use 'WM_TRANSIENT_FOR' to group windows, and consider windows # in the same group focused at the same time. # # detect-transient = false detect-transient = true # Use 'WM_CLIENT_LEADER' to group windows, and consider windows in the same # group focused at the same time. 'WM_TRANSIENT_FOR' has higher priority if # detect-transient is enabled, too. # # detect-client-leader = false detect-client-leader = true # Resize damaged region by a specific number of pixels. # A positive value enlarges it while a negative one shrinks it. # If the value is positive, those additional pixels will not be actually painted # to screen, only used in blur calculation, and such. (Due to technical limitations, # with use-damage, those pixels will still be incorrectly painted to screen.) # Primarily used to fix the line corruption issues of blur, # in which case you should use the blur radius value here # (e.g. with a 3x3 kernel, you should use `--resize-damage 1`, # with a 5x5 one you use `--resize-damage 2`, and so on). # May or may not work with *--glx-no-stencil*. Shrinking doesn't function correctly. # # resize-damage = 1 # Specify a list of conditions of windows that should be painted with inverted color. # Resource-hogging, and is not well tested. # # invert-color-include = [] # GLX backend: Avoid using stencil buffer, useful if you don't have a stencil buffer. # Might cause incorrect opacity when rendering transparent content (but never # practically happened) and may not work with blur-background. # My tests show a 15% performance boost. Recommended. # # glx-no-stencil = false # GLX backend: Avoid rebinding pixmap on window damage. # Probably could improve performance on rapid window content changes, # but is known to break things on some drivers (LLVMpipe, xf86-video-intel, etc.). # Recommended if it works. # # glx-no-rebind-pixmap = false # Disable the use of damage information. # This cause the whole screen to be redrawn everytime, instead of the part of the screen # has actually changed. Potentially degrades the performance, but might fix some artifacts. # The opposing option is use-damage # # no-use-damage = false #use-damage = true (Causing Weird Black semi opaque rectangles when terminal is opened) #Changing use-damage to false fixes the problem use-damage = false # Use X Sync fence to sync clients' draw calls, to make sure all draw # calls are finished before picom starts drawing. Needed on nvidia-drivers # with GLX backend for some users. # # xrender-sync-fence = false # GLX backend: Use specified GLSL fragment shader for rendering window contents. # See `compton-default-fshader-win.glsl` and `compton-fake-transparency-fshader-win.glsl` # in the source tree for examples. # # glx-fshader-win = '' # Force all windows to be painted with blending. Useful if you # have a glx-fshader-win that could turn opaque pixels transparent. # # force-win-blend = false # Do not use EWMH to detect fullscreen windows. # Reverts to checking if a window is fullscreen based only on its size and coordinates. # # no-ewmh-fullscreen = false # Dimming bright windows so their brightness doesn't exceed this set value. # Brightness of a window is estimated by averaging all pixels in the window, # so this could comes with a performance hit. # Setting this to 1.0 disables this behaviour. Requires --use-damage to be disabled. (default: 1.0) # # max-brightness = 1.0 # Make transparent windows clip other windows like non-transparent windows do, # instead of blending on top of them. # # transparent-clipping = false # Set the log level. Possible values are: # "trace", "debug", "info", "warn", "error" # in increasing level of importance. Case doesn't matter. # If using the "TRACE" log level, it's better to log into a file # using *--log-file*, since it can generate a huge stream of logs. # # log-level = "debug" log-level = "info"; # Set the log file. # If *--log-file* is never specified, logs will be written to stderr. # Otherwise, logs will to written to the given file, though some of the early # logs might still be written to the stderr. # When setting this option from the config file, it is recommended to use an absolute path. # # log-file = '/path/to/your/log/file' # Show all X errors (for debugging) # show-all-xerrors = false # Write process ID to a file. # write-pid-path = '/path/to/your/log/file' # Window type settings # # 'WINDOW_TYPE' is one of the 15 window types defined in EWMH standard: # "unknown", "desktop", "dock", "toolbar", "menu", "utility", # "splash", "dialog", "normal", "dropdown_menu", "popup_menu", # "tooltip", "notification", "combo", and "dnd". # # Following per window-type options are available: :: # # fade, shadow::: # Controls window-type-specific shadow and fade settings. # # opacity::: # Controls default opacity of the window type. # # focus::: # Controls whether the window of this type is to be always considered focused. # (By default, all window types except "normal" and "dialog" has this on.) # # full-shadow::: # Controls whether shadow is drawn under the parts of the window that you # normally won't be able to see. Useful when the window has parts of it # transparent, and you want shadows in those areas. # # redir-ignore::: # Controls whether this type of windows should cause screen to become # redirected again after been unredirected. If you have unredir-if-possible # set, and doesn't want certain window to cause unnecessary screen redirection, # you can set this to `true`. # wintypes: { normal = { fade = false; shadow = false; } tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; }; dock = { shadow = false; } dnd = { shadow = false; } popup_menu = { opacity = 0.8; } dropdown_menu = { opacity = 0.8; } }; ================================================ FILE: scripts/battery/battery-notify.sh ================================================ #!/bin/sh # This is bash program to display Hello World export DISPLAY=:0 export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus" export XDG_RUNTIME_DIR="/run/user/1000" bat_lvl=$(acpi -b | grep "Battery 0" | grep -P -o '[0-9]+(?=%)') bat_discharge=$(acpi -b | grep "Battery 0" | grep -c "Discharging") if [ "$bat_lvl" -eq 20 ]; then notify-send --icon="~/.config/scripts/battery/bt-low.svg" -u critical "Battery Critically Low"; mpv ~/.config/scripts/battery/warn.mp3 fi if [ "$bat_lvl" -eq 30 ]; then notify-send --icon="~/.config/scripts/battery/bt-low.svg" -u critical "Battery Low"; mpv ~/.config/scripts/battery/warn.mp3 fi if [ "$bat_lvl" -eq 80 ] && [ "$bat_discharge" -eq 0 ]; then notify-send --icon="~/.config/scripts/battery/bt-full.svg" -u critical "Battery Almost Full"; fi if [ "$bat_lvl" -eq 90 ] && [ "$bat_discharge" -eq 0 ]; then notify-send --icon="~/.config/scripts/battery/bt-full.svg" -u critical "Battery Full"; fi ================================================ FILE: sway/config ================================================ # Config for sway # # Read `man 5 sway` for a complete reference. #***************************************************************** # Set mod key (Mod1=, Mod4=) set $mod Mod4 # reload the configuration file bindsym $mod+Shift+c reload # Set wallpaper: #exec swaybg -i ~/Pictures/wallpapers/wp1.jpg exec_always --no-startup-id ~/.azotebg #Set Path: set $lock_path ~/.config/scripts/lock.sh set $idle_path ~/.config/scripts/idle.sh #start always exec_always --no-startup-id dunst exec_always --no-startup-id autotiling-rs exec_always --no-startup-id $idle_path exec_always --no-startup-id ~/.config/sway/scripts/battery-low-notify.sh exec_always --no-startup-id ~/.config/sway/scripts/low_bat_notifier.sh # exec_always --no-startup-id easyeffects --gapplication-service exec_always brightnessctl set 10% # exec_always thunar --daemon exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec --no-startup-id nm-applet exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec gnome-keyring-daemon # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font xft:URWGothic-Book 11 bar { swaybar_command waybar } bindsym $mod+N exec "killall -SIGUSR1 waybar" #█▄▄ █▀█ █▀█ █▀▄ █▀▀ █▀█ #█▄█ █▄█ █▀▄ █▄▀ ██▄ █▀▄ # Configure border style default_border pixel 2.5 default_floating_border normal # Hide borders hide_edge_borders none # change borders bindsym $mod+u border none bindsym $mod+y border pixel 2 #bindsym $mod+n border normal client.focused "#3457D5" "#3385F5" "#ffffff" "#3385F5" ################################################################################################ # █▄▀ █▀▀ █▄█   █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ # █░█ ██▄ ░█░   █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ # kill focused window bindsym $mod+Q kill # Start Applications bindsym $mod+e exec thunar # start a terminal bindsym $mod+Return exec kitty # start program launcher bindsym $mod+d exec wofi #dunst bindsym $mod+o exec notify-send -t 3500 "$(date '+%a %b %e %r')" bindsym $mod+i exec notify-send "$(curl wttr.in/pokhara?format=3)" #poweroff, reboot shortcuts bindsym $mod+Shift+End exec poweroff bindsym $mod+Shift+Home exec reboot # █▀▄▀█ █▀█ █░█ █ █▄░█ █▀▀   ▄▀█ █▀█ █▀█ █░█ █▄░█ █▀▄ # █░▀░█ █▄█ ▀▄▀ █ █░▀█ █▄█   █▀█ █▀▄ █▄█ █▄█ █░▀█ █▄▀ # Use Mouse+$mod to drag floating windows floating_modifier $mod # change focus bindsym $mod+j focus left bindsym $mod+k focus down bindsym $mod+l focus up bindsym $mod+semicolon focus right # alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right # move focused window bindsym $mod+Shift+j move left bindsym $mod+Shift+k move down bindsym $mod+Shift+l move up bindsym $mod+Shift+semicolon move right # alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀   █▀ ▀█▀ █░█ █▀▀ █▀▀ # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░   ▄█ ░█░ █▄█ █▀░ █▀░ # focus_follows_mouse no gaps { inner 3 outer 3 } # set default desktop layout (default is tiling) # workspace_layout tabbed # split orientation #bindsym $mod+h split h;exec notify-send 'tile horizontally' #bindsym $mod+v split v;exec notify-send 'tile vertically' #bindsym $mod+q split toggle # toggle fullscreen mode for the focused container bindsym $mod+f fullscreen toggle # change container layout (stacked, tabbed, toggle split) #bindsym $mod+g layout stacking #bindsym $mod+h layout tabbed #bindsym $mod+w layout toggle split # toggle tiling / floating bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle # toggle sticky bindsym $mod+Shift+s sticky toggle # focus the parent container #bindsym $mod+a focus parent # move the currently focused window to the scratchpad bindsym $mod+Shift+minus move scratchpad # Show the next scratchpad window or hide the focused scratchpad window. # If there are multiple scratchpad windows, this command cycles through them. bindsym $mod+minus scratchpad show # █░█░█ █▀█ █▀█ █▄▀ █▀ █▀█ ▄▀█ █▀▀ █▀▀ █▀ # ▀▄▀▄▀ █▄█ █▀▄ █░█ ▄█ █▀▀ █▀█ █▄▄ ██▄ ▄█ # Workspace names # to display names or symbols instead of plain workspace numbers you can use # something like: set $ws1 1:mail # set $ws2 2: set $ws1 1 set $ws2 2 set $ws3 3 set $ws4 4 set $ws5 5 set $ws6 6 set $ws7 7 set $ws8 8 # switch to workspace bindsym $mod+1 workspace $ws1 bindsym $mod+2 workspace $ws2 bindsym $mod+3 workspace $ws3 bindsym $mod+4 workspace $ws4 bindsym $mod+5 workspace $ws5 bindsym $mod+6 workspace $ws6 bindsym $mod+7 workspace $ws7 bindsym $mod+8 workspace $ws8 # Move to workspace with focused container bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 # Note: workspaces can have any name you want, not just numbers. # We just use 1-10 as the default. #navigate workspaces next / previous bindsym $mod+Ctrl+Right workspace next bindsym $mod+Ctrl+Left workspace prev # workspace back and forth (with/without active container) workspace_auto_back_and_forth yes bindsym $mod+Tab workspace back_and_forth bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth # Open applications on specific workspaces # Assign workspace assign [class="VirtualBox Machine"] workspace 6 # switch to workspace with urgent window automatically for_window [urgent=latest] focus # █▀█ █▀▀ █▀ █ ▀█ █ █▄░█ █▀▀   █▀▀ █▀█ █▄░█ ▀█▀ ▄▀█ █ █▄░█ █▀▀ █▀█ █▀ # █▀▄ ██▄ ▄█ █ █▄ █ █░▀█ █▄█   █▄▄ █▄█ █░▀█ ░█░ █▀█ █ █░▀█ ██▄ █▀▄ ▄█ (you can also use the mouse for that) bindsym $mod+r mode "resize" mode "resize" { # These bindings trigger as soon as you enter the resize mode # Pressing left will shrink the window’s width. # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. bindsym j resize shrink width 5 px or 5 ppt bindsym k resize grow height 5 px or 5 ppt bindsym l resize shrink height 5 px or 5 ppt bindsym semicolon resize grow width 5 px or 5 ppt # same bindings, but for the arrow keys bindsym Left resize shrink width 10 px or 10 ppt bindsym Down resize grow height 10 px or 10 ppt bindsym Up resize shrink height 10 px or 10 ppt bindsym Right resize grow width 10 px or 10 ppt # exit resize mode: Enter or Escape bindsym Return mode "default" bindsym Escape mode "default" } # █░░ █▀█ █▀▀ █▄▀ # █▄▄ █▄█ █▄▄ █░█ bindsym $mod+0 exec $lock_path # █▀▄▀█ █▀▀ █▀▄ █ ▄▀█   █▄▀ █▀▀ █▄█ █▀ # █░▀░█ ██▄ █▄▀ █ █▀█   █░█ ██▄ ░█░ ▄█ # Volume bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym --locked XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" # Player bindsym XF86AudioPlay exec mpc toggle bindsym XF86AudioStop exec mpc stop bindsym XF86AudioNext exec mpc next bindsym XF86AudioPrev exec mpc prev # Backlight bindsym XF86MonBrightnessUp exec brightnessctl -c backlight set +5% bindsym XF86MonBrightnessDown exec brightnessctl -c backlight set 5%- # █ █▄░█ █▀█ █░█ ▀█▀   █▀▀ █▀█ █▄░█ █▀▀ █ █▀▀ # █ █░▀█ █▀▀ █▄█ ░█░   █▄▄ █▄█ █░▀█ █▀░ █ █▄█ # You can get the names of your inputs by running: swaymsg -t get_inputs # Read `man 5 sway-input` for more information about this section. input type:touchpad { tap enabled scroll_method two_finger edge # pointer_accel 0.2 drag enabled # dwt disabled } input * { xkb_layout "us,us" xkb_variant ",colemak_dh" xkb_options "caps:shift_modifier,grp:ctrl_space_toggle" } ### Idle configuration # exec swayidle -w \ # timeout 250 'swaylock -f -c 000000' \ # timeout 400 'swaymsg "output * dpms off"' \ # resume 'swaymsg "output * dpms on"' \ # before-sleep 'swaylock -f -c 000000' # █▀▀ █░█ █▀ ▀█▀ █▀█ █▀▄▀█   █▄▄ █ █▄░█ █▀▄ # █▄▄ █▄█ ▄█ ░█░ █▄█ █░▀░█   █▄█ █ █░▀█ █▄▀ #Screenshot ##capture selected area to clipboard bindsym $mod+s exec grim -g "$(slurp)" - | wl-copy && notify-send "Screenshot copied" ##capture all screen to clipboard and saves bindsym $mod+Print exec IMG=~/Pictures/screenshot_$(date +%Y%m%d_%H%M%S).png && grim $IMG && wl-copy < $IMG && notify-send "Screenshot saved" ##capture selected area and saves bindsym $mod+Shift+Print exec IMG=~/Pictures/screenshot_$(date +%Y%m%d_%H%M%S).png && grim -g "$(slurp)" $IMG && wl-copy < $IMG && notify-send "Screenshot saved" #Screenrecord set $screenrecord wf-recorder -g "$(slurp)" --audio=alsa_output.pci-0000_08_00.6.analog-stereo.monitor -f ~/Videos/record/mov-$(date +"%Y-%m-%d--%H-%M-%S.mp4") bindsym $mod+v exec $screenrecord bindsym $mod+BackSpace exec killall -s SIGINT wf-recorder; exec killall ffmpeg && notify-send "Recording Saved" #Audiorecord set $audiorecord ffmpeg -f pulse -i alsa_output.pci-0000_00_1b.0.analog-stereo.monitor -ac 2 ~/Audio/aud-$(date +%Y%m%d_%H%M%S).mp3 bindsym $mod+a exec $audiorecord ================================================ FILE: sway/scripts/idle.sh ================================================ #!/bin/env bash swayidle \ timeout 60 '--grace 2 --fade-in 4' \ timeout 65 'swaymsg "output * dpms off"' \ resume 'swaymsg "output * dpms on"' \ before-sleep ================================================ FILE: sway/scripts/lock.sh ================================================ swaylock \ --screenshots \ --clock \ --indicator \ --indicator-radius 100 \ --indicator-thickness 7 \ --effect-blur 9x7 \ --effect-vignette 0.5:0.5 \ --ring-color bb00cc \ --key-hl-color 880033 \ --line-color 00000000 \ --inside-color 00000088 \ --separator-color 00000000 \ --fade-in 0.2 ================================================ FILE: swaylock/config ================================================ ignore-empty-password # indicator # no-unlock-indicator # daemonize clock #timestr=%R datestr=%a, %e of %B screenshots font=JetBrains Mono font-size=20 fade-in=0.15 effect-blur=10x15 effect-scale=0.1 indicator indicator-radius=100 indicator-thickness=9 indicator-caps-lock key-hl-color=880033 separator-color=00000000 inside-color=00000088 inside-clear-color=ffd20400 inside-caps-lock-color=009ddc00 inside-ver-color=d9d8d800 inside-wrong-color=ee2e2400 ring-color=455a64 ring-clear-color=231f20D9 ring-caps-lock-color=231f20D9 ring-ver-color=231f20D9 ring-wrong-color=231f20D9 line-color=00000000 line-clear-color=ffd204FF line-caps-lock-color=009ddcFF line-ver-color=d9d8d8FF line-wrong-color=ee2e24FF text-clear-color=ffd20400 text-ver-color=d9d8d800 text-wrong-color=ee2e2400 bs-hl-color=ee2e24FF caps-lock-key-hl-color=ffd204FF caps-lock-bs-hl-color=ee2e24FF disable-caps-lock-text text-caps-lock-color=009ddc ================================================ FILE: swaylock/qt5ct/qt5ct.conf ================================================ [Appearance] color_scheme_path=/usr/share/qt5ct/colors/airy.conf custom_palette=false icon_theme=Papirus standard_dialogs=default style=kvantum-dark [Fonts] fixed=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) general=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) [Interface] activate_item_on_single_click=1 buttonbox_layout=0 cursor_flash_time=1000 dialog_buttons_have_icons=1 double_click_interval=400 gui_effects=@Invalid() keyboard_scheme=2 menus_have_icons=true show_shortcuts_in_context_menus=true stylesheets=@Invalid() toolbutton_style=4 underline_shortcut=1 wheel_scroll_lines=3 [SettingsWindow] geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c\0\0\a\x80\0\0\0\"\0\0\xe\xff\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c) ================================================ FILE: waybar/awe/config ================================================ { "layer": "top", "position": "top", "height": 33, "width": 1350, "margin": "3, 0, 2, 0", // Choose the order of the modules "modules-left": ["custom/wmname","sway/workspaces","hyprland/workspaces","sway/mode","cpu","custom/separator","memory","custom/separator","network", "custom/recorder", "custom/audiorec"], "modules-center": ["tray","mpd"], "modules-right": [ "idle_inhibitor", "custom/separator", "backlight", "custom/separator", "battery", "custom/separator", "pulseaudio", "custom/separator", "clock"], // Modules configuration "sway/workspaces": { "disable-scroll": true, "all-outputs": true, "format": "{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "", "6": "", "7": "", "8": "", "9": "", "urgent": "", "focused": "", "default": "" } }, "custom/wmname": { "format": "", "tooltip": false, }, "hyprland/workspaces": { "format": "{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "", "6": "", "7": "", "8": "", "9": "", "urgent": "", "focused": "", "default": "" } }, "custom/language": { "exec": "swaymsg --type get_inputs | grep \"xkb_active_layout_name\" | sed -u '1!d; s/^.*xkb_active_layout_name\": \"//; s/ (US)//; s/\",//' && swaymsg --type subscribe --monitor '[\"input\"]' | sed -u 's/^.*xkb_active_layout_name\": \"//; s/\",.*$//; s/ (US)//'" }, "custom/separator": { "format": "|", "interval": "once", "tooltip": false }, "sway/mode": { "format": "{}" }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "tray": { "icon-size": 20, "spacing": 6 }, "clock": { "interval": 1, "locale": "C", "format": " {:%I:%M %p}", "format-alt": " {:%a,%b %d}" // Icon: calendar-alt }, "cpu": { "format": " {usage}%", "tooltip": false, "on-click": "kitty -e 'htop'" }, "memory": { "interval": 30, "format": " {used:0.2f}GB", "max-length": 10, "tooltip": false, "warning": 70, "critical": 90 }, "temperature": { // "thermal-zone": 2, // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "critical-threshold": 80, // "format-critical": "{temperatureC}°C {icon}", "format": "{icon} {temperatureC}°C", "format-icons": ["", "", ""] }, "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", "format-icons": ["💡", "💡"], "on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-up": "brightnessctl -c backlight set +1%" }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{icon} {time}", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] // "format-icons": ["", "", "", "", ""] }, "network": { // "interface": "wlp2*", // (Optional) To force the use of this interface "format-wifi": " ({signalStrength}%)", "format-ethernet": " {ifname}: {ipaddr}/{cidr}", "format-linked": " {ifname} (No IP)", "format-disconnected": "✈ Disconnected", "format-alt": "{ifname}: {ipaddr}/{cidr}", "tooltip-format": "{essid}: {ipaddr}" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth-muted": " {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "🎧", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "mpd": { "format": "{stateIcon} {artist} - {title}", "format-disconnected": "🎶", "format-stopped": "♪", "interval": 10, "consume-icons": { "on": " " // Icon shows only when "consume" is on }, "random-icons": { "off": " ", // Icon grayed out when "random" is off "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)", "max-length": 45 }, "custom/recorder": { "format": " Rec", "format-disabled": " Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"recording\"}'", "exec-if": "pgrep wf-recorder", }, "custom/audiorec": { "format": "♬ Rec", "format-disabled": "♬ Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"audio recording\"}'", "exec-if": "pgrep ffmpeg", }, } ================================================ FILE: waybar/awe/style.css ================================================ @define-color critical #ff0000; /* critical color */ @define-color warning #f3f809; /* warning color */ @define-color fgcolor #ffffff; /* foreground color */ @define-color bgcolor #303030; /* background color */ @define-color bgcolor #222436; /* background color */ @define-color alert #df3320; @define-color accent1 #ff7a93; @define-color accent2 #b9f27c; @define-color accent3 #ff9e64; @define-color accent4 #bb9af7; @define-color accent5 #7da6ff; @define-color accent6 #0db9d7; * { /* `otf-font-awesome` is required to be installed for icons */ border: none; font-family: "JetBrainsMono"; /* Recommended font sizes: 720p: ~14px, 1080p: ~18px */ font-size: 14px; } window#waybar { background-color: rgba(34, 36, 54, 0.6); /* border-bottom: 0px solid rgba(100, 114, 125, 0.5); */ color: #ffffff; transition-property: background-color; transition-duration: .5s; border-radius: 4px; } window#waybar.hidden { opacity: 0.2; } #workspaces button { padding: 0px; margin: 4px 0 6px 0; background-color: transparent; color: #ffffff; min-width: 36px; } #workspaces button.active { padding: 0 0 0 0; margin: 4px 0 6px 0; background-color: #ddddff; color: #303030; min-width: 36px; } #workspaces button:hover { background: rgba(0, 0, 0, 0.2); } #workspaces button.focused { background-color: #bbccdd; color: #323232; } #workspaces button.urgent { color: red; } #mode { background-color: #64727D; border-bottom: 1px solid #ffffff; } #clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor, #custom-power, #custom-pacman, #language { padding: 0px 3px; margin: 4px 3px 5px 3px; color: @fgcolor; background-color:transparent; } #window, #workspaces { margin: 0 4px; } /* If workspaces is the leftmost module, omit left margin */ .modules-left > widget:first-child > #workspaces { margin-left: 0; } /* If workspaces is the rightmost module, omit right margin */ .modules-right > widget:last-child > #workspaces { margin-right: 0; } #clock { color: #90ee90; } #battery { color: @accent5; } @keyframes blink { to { background-color: #ffffff; color: #333333; } } #battery.critical:not(.charging) { background-color: @critical; color: @white; } label:focus { background-color: #000000; } #cpu { color: @accent1; } #memory { color: #86e2d5; } #backlight { color: @accent2; } #network { color: @accent3; } #network.disconnected { color: @alert; } #pulseaudio { color: @accent4; } #pulseaudio.muted { color: #a0a0a0; } #custom-power { color: @accent6; } #custom-waylandvsxorg { color: @accent5; } #custom-pacman { color: @accent2; } #custom-media { background-color: #66cc99; color: #2a5c45; min-width: 100px; } #custom-media.custom-spotify { background-color: #66cc99; } #custom-media.custom-vlc { background-color: #ffa000; } #temperature { color: @accent6; } #temperature.critical { background-color: @critical; } #tray { } #idle_inhibitor { background-color: #343434; border-radius: 4px; } #mpd { color: #d1e231; } #custom-language { color: @accent5; min-width: 16px; } #custom-separator { color: #606060; margin: 0 1px; padding-bottom: 5px; } #custom-wmname { min-width: 36px; font-size: 15px; } #custom-recorder, #custom-audiorec { color: #c71585; } ================================================ FILE: waybar/bluish/config ================================================ { "layer": "bottom", "position": "top", "height": 10, "width": 1350, "margin": "3, 0, 2, 0", "modules-left": ["custom/launcher", "sway/workspaces", "cpu", "memory", "disk", "custom/recorder", "custom/audiorec"], "modules-center": ["mpd"], "modules-right": ["tray", "backlight", "idle_inhibitor", "pulseaudio", "network", "battery", "clock", "custom/power"], "sway/workspaces": { "format": "{icon}", "format-icons": { "1": "♠", "2": "♥", "3": "♦", "4": "♣", "5": "₿", "6": "⟠", "7": "₮", "8": "Ð", "urgent": "", "focused": "", "default": "" } }, "custom/launcher": { "format":"⋏", "on-click": "exec wofi -c ~/.config/wofi/config -I", "tooltip": false, }, "sway/window": { "max-length": 25, "tooltip": false }, "clock": { "interval": 1, "locale": "C", "format": "{:%I:%M %p}", "format-alt": " {:%a,%b %d}" // Icon: calendar-alt }, "cpu": { "interval": 10, "format": " {usage}%", "max-length": 10, "on-click": "kitty -e 'htop'" }, "memory": { "interval": 30, "format": " {used:0.2f}GB", "max-length": 10, "tooltip": false, "warning": 70, "critical": 90 }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": "⚡ {capacity}%", "format-plugged": " {capacity}%", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] //"format-alt": "{time}", }, "temperature": { "critical-threshold": 80, "format-critical": "{temperatureC}° ", "format": "{temperatureC}° " }, "network": { "format": "{icon}", "format-alt": "{ipaddr}/{cidr} {icon}", "format-alt-click": "click-right", "format-wifi": "{icon} ({signalStrength}%)", "format-icons": { "wifi": ["睊", "直" ,""], "ethernet": [""], "disconnected": [""] }, "on-click": "kitty nmtui", "tooltip-format": "{ifname}: {ipaddr}", }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth-muted": " {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "🎧", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "backlight": { "device": "intel_backlight", "format": "{icon} {percent}%", "format-icons": ["☀️", ""], "on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-up": "brightnessctl -c backlight set +1%" }, "idle_inhibitor": { "format": "{icon}", "format-icons":{ "activated": "", "deactivated": "" } }, "tray": { "icon-size": 15 }, "disk": { "format": " {free}" }, "custom/recorder": { "format": " Rec", "format-disabled": " Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"recording\"}'", "exec-if": "pgrep wf-recorder", }, "custom/audiorec": { "format": "♬ Rec", "format-disabled": "♬ Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"audio recording\"}'", "exec-if": "pgrep ffmpeg", }, "mpd": { "format": "{stateIcon} {artist} - {title}", "format-disconnected": "🎶", "format-stopped": "♪", "interval": 10, "consume-icons": { "on": " " // Icon shows only when "consume" is on }, "random-icons": { "off": " ", // Icon grayed out when "random" is off "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)", "max-length": 45 }, "custom/power": { "format":"⏻", "on-click": "exec ~/.config/waybar/scripts/power-menu.sh", "tooltip": false, }, } ================================================ FILE: waybar/bluish/style.css ================================================ * { transition: none; box-shadow: none; font-family: JetBrainsMono; font-size: 12.5px; color: #89CFF0; } #waybar { margin-top: 14px; background: rgba(52,45,113,0.3); border-radius: 12px; border: 2px solid #89CFF0; } #workspaces { margin: 0 3px; color: transparent; } #workspaces button { margin: 3px 0; padding: 0 4px; } #workspaces button.visible { } #workspaces button.focused { border-radius: 10px; background-color: rgba(0,0,0,0.4); } #workspaces button.urgent { border-radius: 10px; } #workspaces button.urgent * { color: rgba(246,71,71,0.8); } #tray { margin: 3px 2px; border-radius: 12px; background-color: rgba(0,0,0,0.4); } #tray * { padding: 0 6px; border-left: 1px solid black; } #tray *:first-child { border-left: none; } #mode, #battery, #cpu, #disk, #memory, #network, #pulseaudio, #idle_inhibitor, #backlight, #mpd, #clock, #temperature { margin: 4px 2px; padding: 0 6px; border-radius: 20px; min-width: 10px; background-color: transparent; } #clock { margin: 4px 2px; } #mpd *{ min-width: 10px; font-size: 11px; font-family: JetBrainsMono; } #custom-power{ margin: 4px 5px 4px 1px; padding: 0 6px; background-color: #722F37; border-radius: 10px; min-width: 15px; } #custom-recorder, #custom-audiorec { margin: 4px 2px; padding: 0 6px; background-color: rgba(175,65,84,0.8); } #custom-launcher{ margin: 4px 1px 4px 5px; padding: 0 6px; background-color: #722F37; border-radius: 10px; min-width: 15px; } #temperature.critical { color: #800020; } ================================================ FILE: waybar/colorful/config ================================================ // Global { "layer": "top", "position": "top", "margin": "3, 0, 2, 0", // If height property would be not present, it'd be calculated dynamically "height": 10, "modules-left": [ "custom/launcher", "cpu", "memory", "backlight#icon", "backlight#value", "disk", "mpd", ], "modules-center": [ "sway/workspaces", ], "modules-right": [ "network", "idle_inhibitor", "pulseaudio", // "custom/keyboard-layout", "battery", "clock", "tray", //"custom/weather", "custom/power", ], // Modules "idle_inhibitor": { "format": "{icon} ", "format-icons":{ "activated": "", "deactivated": "" } }, "battery": { "states": { // "good": 95, "warning": 30, "critical": 15, }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] }, "clock": { "interval": 1, "locale": "C", "format": "{:%I:%M %p}", "format-alt": " {:%a, %b %d}" // Icon: calendar-alt }, "cpu": { "interval": 10, "format": " {usage}%", "max-length": 10, "on-click": "kitty -e 'htop'" }, "custom/keyboard-layout": { "exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4", // Interval set only as a fallback, as the value is updated by signal "interval": 30, "format": " {}", // Icon: keyboard // Signal sent by Sway key binding (~/.config/sway/key-bindings) "signal": 1, // SIGHUP "tooltip": false, "on-click": "~/.config/waybar/scripts/keyhint.sh", }, "memory": { "interval": 5, "format": " {}%", // Icon: memory "on-click": "kitty -e 'htop'", "states": { "warning": 70, "critical": 90 } }, "disk": { "format": " {free}" }, "network": { "interval": 5, "format-wifi": " ({signalStrength}%)", // Icon: wifi "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet "format-disconnected": "⚠ Disconnected", "tooltip-format": "{ifname}: {ipaddr}", "on-click": "kitty -e 'nmtui'", }, "network#vpn": { "interface": "tun0", "format": " {essid} ({signalStrength}%)", "format-disconnected": "⚠ Disconnected", "tooltip-format": "{ifname}: {ipaddr}/{cidr}", }, "sway/mode": { "format": "{}", "tooltip": false }, "sway/window": { "format": "{}", "max-length": 120 }, "sway/workspaces": { "disable-scroll": true, "disable-markup" : false, "all-outputs": true, "format": " {icon} ", //"format":"{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "", "6": "", "7": "", "8": "", } }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth-muted": " {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "🎧", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "kitty alsamixer" }, "custom/weather": { "exec": "~/.config/waybar/scripts/weather.sh", "format": "{text} {icon}", "return-type": "json", "interval": 600, "tooltip-format": "{tooltip}" }, "tray": { "icon-size": 18, "spacing":5, }, "backlight#icon": { "format": "{icon}", "format-icons": [""], "on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-up": "brightnessctl -c backlight set +1%" }, "backlight#value" :{ "format": "{percent}%", "on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-up": "brightnessctl -c backlight set +1%" }, "custom/firefox": { "format": " ", "on-click": "exec firefox", //choose a browser "tooltip": false }, "custom/terminal": { "format": " ", "on-click": "exec kitty", //choose a terminal "tooltip": false }, "custom/files": { "format": " ", "on-click": "exec thunar", //choose a file manager "tooltip": false }, "custom/launcher": { "format":"", "on-click": "exec wofi -c ~/.config/wofi/config -I", "tooltip": false, }, "custom/power": { "format":"⏻", "on-click": "exec ~/.config/waybar/scripts/power-menu.sh", "tooltip": false, }, "mpd": { "format": "{stateIcon} {artist} - {title}", "format-disconnected": "🎶", "format-stopped": "♪", "interval": 10, "consume-icons": { "on": " " // Icon shows only when "consume" is on }, "random-icons": { "off": " ", // Icon grayed out when "random" is off "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)", "max-length": 60 }, } ================================================ FILE: waybar/colorful/scripts/PBPbattery.sh ================================================ #!/bin/bash #simple Shellscript for waybar/i3blocks/polybar on Pinebook pro #05012020 geri123@gmx.net Gerhard S. PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity) STATUS=$(cat /sys/class/power_supply/cw2015-battery/status) case $(( $PERCENT >= 0 && $PERCENT <= 20 ? 1 : $PERCENT > 20 && $PERCENT <= 40 ? 2 : $PERCENT > 40 && $PERCENT <= 60 ? 3 : $PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in # (1) echo $STATUS:"":$PERCENT%;; (2) echo $STATUS:"":$PERCENT%;; (3) echo $STATUS:"":$PERCENT%;; (4) echo $STATUS:"":$PERCENT%;; (5) echo $STATUS:"":$PERCENT%;; esac ================================================ FILE: waybar/colorful/scripts/executable_update.sh ================================================ ================================================ FILE: waybar/colorful/scripts/keyhint.sh ================================================ #!/bin/sh yad --title="EndeavourOS Sway-WM keybindings:" --no-buttons --geometry=400x345-15-400 --list --column=key: --column=description: --column=command: "ESC" "close this app" "" "=" "modkey" "(set mod Mod4)" "+enter" "Terminal" "(xfce4-terminal)" "+d" "Application Menu" "(wofi)" "+p" "Activities" "(wofi)" "+o" "" "Open Broswer" "+n" "" "Open Files" "+q" "close focused app" "(kill)" "[Shift]+Print-key" "screenshot" "(grim)" "+Shift+e" "power-menu" "(wofi)" "+t" "open keybinding helper" "full list" ================================================ FILE: waybar/colorful/scripts/mediaplayer.sh ================================================ #!/bin/sh player_status=$(playerctl status 2> /dev/null) if [ "$player_status" = "Playing" ]; then echo "$(playerctl metadata artist) - $(playerctl metadata title)" elif [ "$player_status" = "Paused" ]; then echo " $(playerctl metadata artist) - $(playerctl metadata title)" fi ================================================ FILE: waybar/colorful/scripts/power-menu.sh ================================================ #!/bin/bash entries="Logout Suspend Reboot Shutdown" selected=$(printf '%s\n' $entries | wofi --conf=$HOME/.config/wofi/config.power --style=$HOME/.config/wofi/style.widgets.css | awk '{print tolower($1)}') case $selected in logout) swaymsg exit;; suspend) exec systemctl suspend;; reboot) exec systemctl reboot;; shutdown) exec systemctl poweroff -i;; esac ================================================ FILE: waybar/colorful/scripts/weather.sh ================================================ #!/bin/bash LOC="$1" # HTML encode string as %20 LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC") content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=$LOCATION°=C") ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' ) # echo $ICON TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g') TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g') CLASS=$(echo $content | jq .skytext) echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }' ================================================ FILE: waybar/colorful/style.css ================================================ * { font-family: JetBrainsMono; padding: 1px 4px; color: white; } window#waybar { font-size: 14px; color: white; font-weight: normal; background: transparent; border-radius: 40px; } window#waybar.hidden { opacity: 0.2; } #battery, #clock, #cpu, #disk, #memory, #network, #pulseaudio, #mpd, #custom-launcher, #temperature, #custom-power { color: white; background-color: #24283b; border-radius: 20px; margin: 1 9px; } label:focus { background-color: #000; } #battery.warning.charging *{ color: white; } #battery.critical *{ color: #e06c75; } #tags button { background-color: #24283b; color: white; border-radius: 15px; margin: 0 3px; } #tags button.occupied { margin: 0 3px; background-color: #194aac; } #tags button.focused { color: #000; margin: 0 3px; background-color: white; } #tags button.urgent{ color: red; margin: 0 3px; background-color:white; } /*ANIMATIONS*/ @keyframes animate { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /*BORDER RADIUS*/ #custom-launcher, #cpu, #disk, #memory{ border-radius: 3px 10px 3px 10px; } #clock, #network, #pulseaudio, #custom-power{ border-radius: 10px 3px 10px 3px; } #custom-launcher , #custom-power { color: red; font-size: 15px; } #cpu, #clock { background: #6F8FAF; } #memory, #pulseaudio { background: #D70040; } #disk, #network { background: #00A36C; } #battery { background: #F4BB44; } #workspaces { border-radius: 10px; font-size: 15px; background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab); background-size: 400% 400%; animation: animate 21s ease infinite; } #workspaces button.urgent * { color: #630330; } #idle_inhibitor { padding: 0px; } #mpd { background: transparent; font-size: 12px; } ================================================ FILE: waybar/minimal/config ================================================ { "layer": "top", "position": "top", "height": 10, "margin-bottom":0, "margin-top":0, "modules-left": ["sway/mode","cpu","memory","network","mpd"], "modules-center": ["sway/workspaces","hyprland/workspaces"], "modules-right": ["tray","idle_inhibitor","pulseaudio","backlight","battery","clock"], "battery": { "states": { "warning": 30, "critical": 15 }, "format": "{icon} {capacity}%", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", "format-alt": "{icon} {time}", "format-icons": ["", "", "", "", "", "", ""] }, "hyprland/workspaces": { "sort-by-name": true, "on-click": "activate" }, "hyprland/window": { "max-length": 200, "separate-outputs": true }, "sway/mode": { "format": "{}" }, "tray": { "icon-size": 16, "spacing": 6 }, "clock": { "locale": "C", "format": " {:%I:%M %p}", "format-alt": " {:%a,%b %d}" // Icon: calendar-alt }, "cpu": { "format": " {usage}%", "tooltip": false, "on-click": "kitty -e 'htop'" }, "memory": { "interval": 30, "format": " {used:0.2f}GB", "max-length": 10, "tooltip": false, "warning": 70, "critical": 90 }, "network": { "interval": 2, "format-wifi": " {signalStrength}%", "format-ethernet": "", "format-linked": " {ipaddr}", "format-disconnected": " Disconnected", "format-disabled": "", "tooltip": false, "max-length": 20, "min-length": 6, "format-alt": "{essid}", }, "idle_inhibitor": { "format": "{icon}", "format-icons": { "activated": "", "deactivated": "" } }, "backlight": { // "device": "acpi_video1", "format": "{icon} {percent}%", "format-icons": ["", ""], "on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-up": "brightnessctl -c backlight set +1%" }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}% {format_source}", "format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth-muted": " {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "format-icons": { "headphone": "", "hands-free": "", "headset": "🎧", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "mpd": { "format": "{stateIcon} {artist} - {title}", "format-disconnected": "🎶", "format-stopped": "♪", "interval": 10, "consume-icons": { "on": " " // Icon shows only when "consume" is on }, "random-icons": { "off": " ", // Icon grayed out when "random" is off "on": " " }, "repeat-icons": { "on": " " }, "single-icons": { "on": "1 " }, "state-icons": { "paused": "", "playing": "" }, "tooltip-format": "MPD (connected)", "tooltip-format-disconnected": "MPD (disconnected)", "max-length": 35 }, "custom/recorder": { "format": " Rec", "format-disabled": " Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"recording\"}'", "exec-if": "pgrep wf-recorder", }, "custom/audiorec": { "format": "♬ Rec", "format-disabled": "♬ Off-air", //An empty format will hide the module. "return-type": "json", "interval": 1, "exec": "echo '{\"class\": \"audio recording\"}'", "exec-if": "pgrep ffmpeg", }, } ================================================ FILE: waybar/minimal/style.css ================================================ *{ font-family: JetBrainsMono; font-size: 13px; min-height: 0; color: white; } window#waybar { background-color: transparent; } #workspaces{ margin-top: 3px; margin-bottom: 2px; margin-right: 10px; margin-left: 25px; } #workspaces button{ border-radius: 15px; margin-right: 10px; padding: 1px 10px; font-weight: bolder; background-color: #181818; } #workspaces button.active, #workspaces button.focused{ padding: 0 22px; box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset; background: #7C9D96; } #tray, #mpd, #custom-weather, #cpu, #temperature, #memory, #sway-mode, #backlight, #pulseaudio, #custom-vpn, #disk, #custom-recorder, #custom-audiorec, #battery, #clock, #idle_inhibitor, #network { padding: 0 10px; } ================================================ FILE: waybar/vertical waybar/config ================================================ { "position": "left", "margin": "5, 5", "modules-left": ["sway/mode","pulseaudio","cpu", "tray",], "modules-center": ["custom/browser","custom/terminal","sway/workspaces","custom/files","custom/launcher",], "modules-right": ["memory","battery", "idle_inhibitor", "clock",], // modules "sway/mode": { "format": "{}", "max-length": 50 }, "sway/workspaces": { "all-outputs": true, "format": "{icon}", "format-icons": { "1": "α", "2": "β", "3": "γ", "4": "δ", "5": "ε", "6": "ζ", "7": "η", "8": "θ", } }, "clock": { "format": "{:%H\n--\n%M}", "tooltip-format": "{:%Y %B}\n{calendar}", }, "tray": { "icon-size": 17, "spacing":5, }, "cpu": { "interval": 10, "format":" {usage}%", "max-length": 20, "rotate": 90, "on-click": "kitty -e 'htop'" }, "memory": { "interval": 10, "format": " {percentage}%", "max-length": 15, "tooltip": true, "warning": 70, "critical": 90, "tooltip-format": "{used:0.1f}G", "rotate": 90, }, "battery": { "states": { //"good": 95, "warning": 30, "critical": 15 }, "format": "{icon} {capacity}", "format-charging": " {capacity}%", "format-plugged": " {capacity}%", // "format-good": "", // An empty format will hide the module // "format-full": "", "format-icons": ["", "", "", "", ""] //"format-alt": "{time}", }, "pulseaudio": { // "scroll-step": 1, // %, can be a float "format": "{icon} {volume}%\n{format_source}", "format-bluetooth": "{icon} {volume}% {format_source}", "format-bluetooth-muted": " {format_source}", "format-muted": " {format_source}", "format-source": " {volume}%", "format-source-muted": "", "rotate": 90, "format-icons": { "headphone": "", "hands-free": "", "headset": "🎧", "phone": "", "portable": "", "car": "", "default": ["", "", ""] }, "on-click": "pavucontrol" }, "idle_inhibitor": { "format": "{icon}", "format-icons":{ "activated": "", "deactivated": "" } }, // custom modules "custom/browser": { "format": "", "on-click": "exec firefox", //choose a browser "tooltip": false, }, "custom/terminal": { "format": "", "on-click": "exec kitty", //choose a terminal "tooltip": false, }, "custom/files": { "format": "", "on-click": "exec thunar", //choose a file manager "tooltip": false, }, "custom/launcher": { "format":"", "on-click": "exec wofi -c ~/.config/wofi/config -I", "tooltip": false, }, } ================================================ FILE: waybar/vertical waybar/style.css ================================================ * { font-family: JetBrainsMono; padding: 1px 2px; color: white; } window#waybar { font-size: 12px; color: white; border-radius: 8px; background: linear-gradient(45deg, rgba(36, 40, 59, 0.8) 7.5%, rgba(26,27, 38, 0.9) 0%); } window#waybar.hidden { opacity: 0.2; } #battery, #network{ margin: 4px 0px; font-size: 10px; } #pulseaudio, #cpu, #memory, #clock{ margin: 3px; font-size: 11px; } #battery.warning.charging *{ color: white; } #battery.critical *{ color: #e06c75; } #workspaces { font-size: 15px; margin: 40px 0px; color: black; } #workspaces button.focused * { color: rgba(150, 215, 0, 0.3); } #workspaces button.urgent * { color: #630330; } #workspaces button:hover { background: transparent; border-bottom: 1.5px solid #6272A4; } /*custom modules*/ #custom-browser, #custom-terminal, #custom-files, #custom-launcher{ font-size: 15px; margin: 3px 0px; } ================================================ FILE: wofi/config ================================================ hide_scroll=true show=drun width=30% lines=8 line_wrap=word term=kitty allow_markup=true always_parse_args=false show_all=true print_command=true layer=overlay allow_images=true sort_order=alphabetical gtk_dark=true prompt= image_size=20 display_generic=false location=center key_expand=Tab insensitive=false ================================================ FILE: wofi/style.css ================================================ * { font-family: JetBrainsMono; color: #e5e9f0; background: transparent; } #window { background: rgba(41, 46, 66, 0.5); margin: auto; padding: 10px; border-radius: 20px; border: 5px solid #b072d1; } #input { padding: 10px; margin-bottom: 10px; border-radius: 15px; } #outer-box { padding: 20px; } #img { margin-right: 6px; } #entry { padding: 10px; border-radius: 15px; } #entry:selected { background-color: #2e3440; } #text { margin: 2px; }