remove log since it's not needed
This commit is contained in:
parent
24b6464d0b
commit
ae9a611ea6
47 changed files with 0 additions and 8388 deletions
|
@ -1,388 +0,0 @@
|
|||
# ┌───────────────────────────────────────────────────┐
|
||||
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
|
||||
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
|
||||
# │ ██████╔╝█████╗ ██║ █████╗ ██████╔╝███████╗ │
|
||||
# │ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ██╔══██╗╚════██║ │
|
||||
# │ ██║ ███████╗ ██║ ███████╗██║ ██║███████║ │
|
||||
# │ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ depressing and totally messy hyprland config or │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ How windows are the only well │
|
||||
# │ managed aspect of my life. │
|
||||
# │---------------------------------------------------│
|
||||
# │ https://gitlab.com/putridpete/dot-files │
|
||||
# └───────────────────────────────────────────────────┘
|
||||
#
|
||||
#
|
||||
|
||||
# Programs
|
||||
|
||||
$terminal = kitty
|
||||
$menu = rofi -show drun
|
||||
|
||||
# Some default env vars
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
# Outputs
|
||||
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
|
||||
# trigger when the switch is toggled
|
||||
|
||||
bindl=,switch:Lid Switch,exec,swaylock -f
|
||||
|
||||
# Screen brightness
|
||||
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Input devices
|
||||
|
||||
input {
|
||||
kb_layout = us(altgr-intl)
|
||||
kb_variant = ,nodeadkeys
|
||||
kb_options = caps:escape
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
device {
|
||||
name = tpps/2-ibm-trackpoint
|
||||
sensitivity = 0.7
|
||||
}
|
||||
|
||||
device {
|
||||
name = synaptics-tm3276-022
|
||||
sensitivity = 0.3
|
||||
}
|
||||
|
||||
# Executables
|
||||
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = udiskie -t &
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once = sleep 1; blueman-applet
|
||||
exec-once = waybar
|
||||
exec-once = swaync
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypridle
|
||||
exec-once = hyprctl setcursor Dracula-cursors 24
|
||||
exec-once = [workspace 1 silent] firefox
|
||||
exec-once = jellyfinmediaplayer
|
||||
exec-once = libreoffice --writer --norestore
|
||||
exec-once = gimp
|
||||
exec-once = [workspace 2 silent] kitty btop
|
||||
exec-once = [workspace 2 silent] sleep 1; kitty
|
||||
exec-once = [workspace 2 silent] sleep 1;kitty --session ~/.config/kitty/session --listen-on=unix:@mykitty
|
||||
exec-once = [workspace special:password silent] keepassxc
|
||||
exec-once = [workspace special:scratchpad silent] signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
exec-once = nextcloud
|
||||
exec-once = killall nextcloud
|
||||
exec-once = [workspace special:music silent] sleep 1; feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
exec-once = gammastep -m wayland -O 6500K -g 1.1.0
|
||||
exec-once = [workspace special:email silent] sleep 1; tutanota-desktop --ozone-platform-hint=auto
|
||||
exec-once = discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized
|
||||
|
||||
# Variables
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
layout = master
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
|
||||
rounding = 8
|
||||
|
||||
blur {
|
||||
enabled = false
|
||||
size = 3
|
||||
passes = 1
|
||||
new_optimizations = true
|
||||
noise = 0.06
|
||||
special = true
|
||||
contrast = 0.8
|
||||
popups = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# Animations
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0, 0.55, 0.45, 1
|
||||
|
||||
animation = windows, 1, 4, myBezier
|
||||
animation = windowsIn, 1, 7, default, popin 80%
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 20, default
|
||||
animation = borderangle, 1, 20, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default, slide
|
||||
}
|
||||
|
||||
# Layout
|
||||
|
||||
master {
|
||||
new_status = slave
|
||||
}
|
||||
|
||||
# Cursor
|
||||
|
||||
cursor {
|
||||
hide_on_key_press = true
|
||||
}
|
||||
|
||||
# Miscellaneous
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
||||
vfr = true
|
||||
}
|
||||
|
||||
# Window rules
|
||||
|
||||
windowrulev2 = workspace 3 silent,class:com.github.iwalton3.jellyfin-media-player
|
||||
windowrulev2 = workspace 4 silent,class:libreoffice-writer
|
||||
windowrulev2 = workspace 5 silent,class:gimp
|
||||
windowrulev2 = float,class:nmnet
|
||||
windowrulev2 = size 860 540,class:nmnet
|
||||
windowrulev2 = float,class:com.nextcloud.desktopclient.nextcloud
|
||||
windowrulev2 = move 1450 38,class:com.nextcloud.desktopclient.nextcloud
|
||||
windowrulev2 = float,class:openrgb
|
||||
windowrulev2 = size 1600 900,class:openrgb
|
||||
windowrulev2 = center,class:openrgb
|
||||
windowrulev2 = float,class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = move 1310 40,class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = float,title:foot
|
||||
windowrulev2 = float,title:Open Files
|
||||
windowrulev2 = size 1000 600,title:Open Files
|
||||
windowrulev2 = float,title:Signal
|
||||
windowrulev2 = center,title:Signal
|
||||
windowrulev2 = size 1280 720,title:Signal
|
||||
windowrulev2 = float,class:feishin
|
||||
windowrulev2 = center,class:feishin
|
||||
windowrulev2 = float,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = size 800 600,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = center,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = float,class:mpv
|
||||
windowrulev2 = monitor DP-1,class:mpv
|
||||
windowrulev2 = size 600 400,class:mpv
|
||||
windowrulev2 = move 1310 670,class:mpv
|
||||
windowrulev2 = center,class:discord
|
||||
windowrulev2 = float,class:discord
|
||||
windowrulev2 = size 1600 900, class:discord
|
||||
windowrulev2 = float,class:org.kde.polkit-kde-authentication-agent-1
|
||||
windowrulev2 = float,class:alacarte
|
||||
windowrulev2 = float,class:nwg-look
|
||||
windowrulev2 = float,class:zenity
|
||||
windowrulev2 = float,class:galculator
|
||||
windowrulev2 = move 1580 730,class:galculator
|
||||
windowrulev2 = float,class:qsynth
|
||||
windowrulev2 = float,class:qt5ct
|
||||
windowrulev2 = float,class:kvantummanager
|
||||
windowrulev2 = float,class:nm-connection-editor
|
||||
windowrulev2 = float,class:udiskie
|
||||
windowrulev2 = float,class:gsimplecal
|
||||
windowrulev2 = move 800 43,class:gsimplecal
|
||||
windowrulev2 = float,class:imv
|
||||
windowrulev2 = center,class:imv
|
||||
windowrulev2 = float,class:org.pwmt.zathura
|
||||
windowrulev2 = center,class:org.pwmt.zathura
|
||||
windowrulev2 = idleinhibit fullscreen, fullscreen:1
|
||||
windowrulev2 = float,class:tutanota-desktop
|
||||
windowrulev2 = center,class:tutanota-desktop
|
||||
windowrulev2 = size 1705 909,class:tutanota-desktop
|
||||
windowrulev2 = float,class:xdg-desktop-portal-gtk
|
||||
windowrulev2 = float,class:blueman-manager
|
||||
windowrulev2 = center,class:blueman-manager
|
||||
windowrulev2 = move 1310 38,class:blueman-manager
|
||||
windowrulev2 = size 600 900,class:blueman-manager
|
||||
|
||||
# Keywords
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# Bindings
|
||||
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, E, exit,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, P, exec, $menu
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, C, exec, galculator
|
||||
bind = $mainMod, n, exec, exec swaync-client -t -sw
|
||||
bind = $mainMod CTRL, S, exec, [workspace special:scratchpad silent] signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
bind = $mainMod CTRL, P, exec, [workspace special:password silent] keepassxc
|
||||
bind = $mainMod CTRL, M, exec, [workspace special:music silent] sleep 1; feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
|
||||
# Resize windows main keybind
|
||||
bind=ALT,R,submap,resize
|
||||
|
||||
# Start a submap resize
|
||||
submap=resize
|
||||
|
||||
# Set repeatable binds for resizing the active window
|
||||
binde=,right,resizeactive,10 0
|
||||
binde=,left,resizeactive,-10 0
|
||||
binde=,up,resizeactive,0 -10
|
||||
binde=,down,resizeactive,0 10
|
||||
binde=,l,resizeactive,10 0
|
||||
binde=,h,resizeactive,-10 0
|
||||
binde=,k,resizeactive,0 -10
|
||||
binde=,j,resizeactive,0 10
|
||||
|
||||
# Use reset to go back to the global submap
|
||||
bind=,escape,submap,reset
|
||||
|
||||
# Reset the submap
|
||||
submap=reset
|
||||
|
||||
# Switch between floating and tiled windows
|
||||
|
||||
bind = ALT, TAB, cyclenext, floating
|
||||
bind = ALT, SPACE, focuscurrentorlast
|
||||
|
||||
# Media keys
|
||||
|
||||
bind = ,XF86AudioPlay,exec,playerctl play-pause
|
||||
bind = ,XF86AudioPause,exec,playerctl pause
|
||||
bind = ,XF86AudioStop,exec,playerctl stop
|
||||
bind = ,XF86AudioNext,exec,playerctl next
|
||||
bind = ,XF86AudioPrev,exec,playerctl previous
|
||||
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind = ,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Move focus with Mod + arrow keys
|
||||
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move windows with Mod + arrow keys
|
||||
|
||||
bind = $mainMod CTRL, left, movewindow, l
|
||||
bind = $mainMod CTRL, right, movewindow, r
|
||||
bind = $mainMod CTRL, up, movewindow, u
|
||||
bind = $mainMod CTRL, down, movewindow, d
|
||||
|
||||
# VI keybindings like God intended
|
||||
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
# Move windows with Mod + vi keys
|
||||
|
||||
bind = $mainMod CTRL, h, movewindow, l
|
||||
bind = $mainMod CTRL, l, movewindow, r
|
||||
bind = $mainMod CTRL, k, movewindow, u
|
||||
bind = $mainMod CTRL, j, movewindow, d
|
||||
|
||||
# Switch workspaces with Mod + [0-8]
|
||||
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
|
||||
# Move active window to a workspace with Mod + CTRL + [0-8]
|
||||
|
||||
bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
|
||||
# Workspace monitor assignment
|
||||
|
||||
workspace = 1, monitor:eDP-1, default:true
|
||||
workspace = 2, monitor:eDP-1
|
||||
workspace = 3, monitor:eDP-1
|
||||
workspace = 4, monitor:eDP-1
|
||||
workspace = 5, monitor:eDP-1
|
||||
workspace = 6, monitor:eDP-1
|
||||
workspace = 7, monitor:eDP-1, default:true
|
||||
workspace = 8, monitor:eDP-1
|
||||
|
||||
# Special workspaces
|
||||
|
||||
bind = $mainMod, U, togglespecialworkspace, scratchpad
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:scratchpad
|
||||
|
||||
bind = $mainMod, M, togglespecialworkspace, music
|
||||
bind = $mainMod, O, togglespecialworkspace, password
|
||||
bind = $mainMod, I, togglespecialworkspace, email
|
||||
|
||||
# Scroll through existing workspaces with Mod + scroll
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Scroll through existing workspaces with Mod + vi keys
|
||||
|
||||
bind = $mainMod ALT, l, workspace, e+1
|
||||
bind = $mainMod ALT, h, workspace, e-1
|
||||
|
||||
# Scroll through existing workspaces with Mod + arrow keys
|
||||
|
||||
bind = $mainMod ALT, right, workspace, e+1
|
||||
bind = $mainMod ALT, left, workspace, e-1
|
||||
|
||||
# Move/resize windows with Mod + LMB/RMB and dragging
|
||||
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Screenshot
|
||||
|
||||
bind = ,Print,exec,grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# Dracula theme
|
||||
|
||||
general {
|
||||
col.active_border = rgb(6272A4) rgb(bd93f9) 90deg
|
||||
col.inactive_border = rgba(44475aaa)
|
||||
col.nogroup_border = rgba(282a36dd)
|
||||
col.nogroup_border_active = rgb(bd93f9) rgb(44475a) 90deg
|
||||
no_border_on_floating = false
|
||||
border_size = 2
|
||||
|
||||
}
|
||||
decoration:shadow {
|
||||
color = rgba(1E202966)
|
||||
enabled = true
|
||||
range = 60
|
||||
offset = 1 2
|
||||
render_power = 3
|
||||
scale = 0.97
|
||||
}
|
||||
|
||||
group {
|
||||
groupbar {
|
||||
col.active = rgb(bd93f9) rgb(44475a) 90deg
|
||||
col.inactive = rgba(282a36dd)
|
||||
}
|
||||
}
|
||||
windowrulev2 = bordercolor rgb(ff5555),xwayland:1 # check if window is xwayland
|
|
@ -1,29 +0,0 @@
|
|||
general {
|
||||
lock_cmd = pidof hyprlock || hyprlock
|
||||
before_sleep_cmd = loginctl lock-session
|
||||
after_sleep_cmd = hyprctl dispatch dpms on
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 150
|
||||
on-timeout = brightnessctl -s set 10
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
# turn off keyboard backlight, comment out this section if you dont have a keyboard backlight.
|
||||
listener {
|
||||
timeout = 150
|
||||
on-timeout = brightnessctl -sd rgb:kbd_backlight set 0
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 600
|
||||
on-timeout = loginctl lock-session
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 605
|
||||
on-timeout = hyprctl dispatch dpms off
|
||||
on-resume = hyprctl dispatch dpms on
|
||||
}
|
|
@ -1,390 +0,0 @@
|
|||
# ┌───────────────────────────────────────────────────┐
|
||||
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
|
||||
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
|
||||
# │ ██████╔╝█████╗ ██║ █████╗ ██████╔╝███████╗ │
|
||||
# │ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ██╔══██╗╚════██║ │
|
||||
# │ ██║ ███████╗ ██║ ███████╗██║ ██║███████║ │
|
||||
# │ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ depressing and totally messy hyprland config or │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ How windows are the only well │
|
||||
# │ managed aspect of my life. │
|
||||
# │---------------------------------------------------│
|
||||
# │ https://gitlab.com/putridpete/dot-files │
|
||||
# └───────────────────────────────────────────────────┘
|
||||
#
|
||||
#
|
||||
|
||||
# Programs
|
||||
|
||||
$terminal = kitty
|
||||
$menu = rofi -show drun
|
||||
|
||||
# Some default env vars
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
|
||||
|
||||
# Outputs
|
||||
|
||||
monitor=eDP-1,1920x1080@60,0x0,1
|
||||
|
||||
# trigger when the switch is toggled
|
||||
|
||||
bindl=,switch:Lid Switch,exec,swaylock -f
|
||||
|
||||
# Screen brightness
|
||||
|
||||
bind = , XF86MonBrightnessUp, exec, brightnessctl s +10%
|
||||
bind = , XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||
|
||||
# Input devices
|
||||
|
||||
input {
|
||||
kb_layout = us(altgr-intl)
|
||||
kb_variant = ,nodeadkeys
|
||||
kb_options = caps:escape
|
||||
|
||||
follow_mouse = 1
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
device {
|
||||
name = tpps/2-ibm-trackpoint
|
||||
sensitivity = 0.7
|
||||
}
|
||||
|
||||
device {
|
||||
name = synaptics-tm3276-022
|
||||
sensitivity = 0.3
|
||||
}
|
||||
|
||||
# Executables
|
||||
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = udiskie -t &
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once = sleep 1; blueman-applet
|
||||
exec-once = waybar
|
||||
exec-once = swaync
|
||||
exec-once = hyprpaper
|
||||
exec-once = hypridle
|
||||
exec-once = hyprctl setcursor Dracula-cursors 24
|
||||
exec-once = [workspace 1 silent] firefox
|
||||
exec-once = libreoffice --writer --norestore
|
||||
exec-once = gimp
|
||||
exec-once = [workspace 2 silent] kitty btop
|
||||
exec-once = [workspace 2 silent] sleep 1; kitty
|
||||
exec-once = [workspace 2 silent] sleep 1;kitty --session ~/.config/kitty/session --listen-on=unix:@mykitty
|
||||
exec-once = [workspace special:password silent] keepassxc
|
||||
exec-once = [workspace special:scratchpad silent] signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
exec-once = nextcloud
|
||||
exec-once = killall nextcloud
|
||||
exec-once = [workspace special:music silent] sleep 1; feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
exec-once = gammastep -m wayland -O 6500K -g 1.1.0
|
||||
exec-once = [workspace special:email silent] sleep 1; tutanota-desktop --ozone-platform-hint=auto
|
||||
exec-once = discord --enable-features=UseOzonePlatform --ozone-platform=wayland --start-minimized
|
||||
exec-once = jellyfin-mpv-shim
|
||||
|
||||
# Variables
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 10
|
||||
border_size = 2
|
||||
layout = master
|
||||
allow_tearing = false
|
||||
}
|
||||
|
||||
decoration {
|
||||
|
||||
rounding = 8
|
||||
|
||||
blur {
|
||||
enabled = false
|
||||
size = 3
|
||||
passes = 1
|
||||
new_optimizations = true
|
||||
noise = 0.06
|
||||
special = true
|
||||
contrast = 0.8
|
||||
popups = true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
# Animations
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
|
||||
bezier = myBezier, 0, 0.55, 0.45, 1
|
||||
|
||||
animation = windows, 1, 4, myBezier
|
||||
animation = windowsIn, 1, 7, default, popin 80%
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = border, 1, 20, default
|
||||
animation = borderangle, 1, 20, default
|
||||
animation = fade, 1, 7, default
|
||||
animation = workspaces, 1, 6, default, slide
|
||||
}
|
||||
|
||||
# Layout
|
||||
|
||||
master {
|
||||
new_status = slave
|
||||
}
|
||||
|
||||
# Cursor
|
||||
|
||||
cursor {
|
||||
hide_on_key_press = true
|
||||
}
|
||||
|
||||
# Miscellaneous
|
||||
|
||||
misc {
|
||||
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
|
||||
vfr = true
|
||||
}
|
||||
|
||||
# Window rules
|
||||
|
||||
windowrulev2 = workspace 3 silent,class:libreoffice-writer
|
||||
windowrulev2 = workspace 4 silent,class:gimp
|
||||
windowrulev2 = workspace special:email silent,class:tutanota-desktop
|
||||
windowrulev2 = float,class:nmnet
|
||||
windowrulev2 = size 860 540,class:nmnet
|
||||
windowrulev2 = float,class:com.nextcloud.desktopclient.nextcloud
|
||||
windowrulev2 = move 1450 38,class:com.nextcloud.desktopclient.nextcloud
|
||||
windowrulev2 = float,class:openrgb
|
||||
windowrulev2 = size 1600 900,class:openrgb
|
||||
windowrulev2 = center,class:openrgb
|
||||
windowrulev2 = float,class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = move 1310 40,class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = float,title:foot
|
||||
windowrulev2 = float,title:Save Files*
|
||||
windowrulev2 = size 1000 600,title:Save Files*
|
||||
windowrulev2 = float,title:Open Files
|
||||
windowrulev2 = size 1000 600,title:Open Files
|
||||
windowrulev2 = float,title:Signal
|
||||
windowrulev2 = center,title:Signal
|
||||
windowrulev2 = size 1280 720,title:Signal
|
||||
windowrulev2 = float,class:feishin
|
||||
windowrulev2 = center,class:feishin
|
||||
windowrulev2 = float,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = size 800 600,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = center,class:org.keepassxc.KeePassXC
|
||||
windowrulev2 = float,class:mpv
|
||||
windowrulev2 = monitor DP-1,class:mpv
|
||||
windowrulev2 = size 600 400,class:mpv
|
||||
windowrulev2 = move 1310 670,class:mpv
|
||||
windowrulev2 = center,class:discord
|
||||
windowrulev2 = float,class:discord
|
||||
windowrulev2 = size 1600 900, class:discord
|
||||
windowrulev2 = float,class:org.kde.polkit-kde-authentication-agent-1
|
||||
windowrulev2 = float,class:alacarte
|
||||
windowrulev2 = float,class:nwg-look
|
||||
windowrulev2 = float,class:zenity
|
||||
windowrulev2 = float,class:galculator
|
||||
windowrulev2 = move 1580 730,class:galculator
|
||||
windowrulev2 = float,class:qsynth
|
||||
windowrulev2 = float,class:qt5ct
|
||||
windowrulev2 = float,class:kvantummanager
|
||||
windowrulev2 = float,class:nm-connection-editor
|
||||
windowrulev2 = float,class:udiskie
|
||||
windowrulev2 = float,class:gsimplecal
|
||||
windowrulev2 = move 800 43,class:gsimplecal
|
||||
windowrulev2 = float,class:imv
|
||||
windowrulev2 = center,class:imv
|
||||
windowrulev2 = float,class:org.pwmt.zathura
|
||||
windowrulev2 = center,class:org.pwmt.zathura
|
||||
windowrulev2 = idleinhibit fullscreen, fullscreen:1
|
||||
windowrulev2 = float,class:tutanota-desktop
|
||||
windowrulev2 = center,class:tutanota-desktop
|
||||
windowrulev2 = size 1705 909,class:tutanota-desktop
|
||||
windowrulev2 = float,class:xdg-desktop-portal-gtk
|
||||
windowrulev2 = float,class:blueman-manager
|
||||
windowrulev2 = center,class:blueman-manager
|
||||
windowrulev2 = move 1310 38,class:blueman-manager
|
||||
windowrulev2 = size 600 900,class:blueman-manager
|
||||
|
||||
# Keywords
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
# Bindings
|
||||
|
||||
bind = $mainMod, Return, exec, $terminal
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, E, exit,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, P, exec, $menu
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, C, exec, galculator
|
||||
bind = $mainMod, n, exec, exec swaync-client -t -sw
|
||||
bind = $mainMod CTRL, S, exec, [workspace special:scratchpad silent] signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
bind = $mainMod CTRL, P, exec, [workspace special:password silent] keepassxc
|
||||
bind = $mainMod CTRL, M, exec, [workspace special:music silent] sleep 1; feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
|
||||
# Resize windows main keybind
|
||||
bind=ALT,R,submap,resize
|
||||
|
||||
# Start a submap resize
|
||||
submap=resize
|
||||
|
||||
# Set repeatable binds for resizing the active window
|
||||
binde=,right,resizeactive,10 0
|
||||
binde=,left,resizeactive,-10 0
|
||||
binde=,up,resizeactive,0 -10
|
||||
binde=,down,resizeactive,0 10
|
||||
binde=,l,resizeactive,10 0
|
||||
binde=,h,resizeactive,-10 0
|
||||
binde=,k,resizeactive,0 -10
|
||||
binde=,j,resizeactive,0 10
|
||||
|
||||
# Use reset to go back to the global submap
|
||||
bind=,escape,submap,reset
|
||||
|
||||
# Reset the submap
|
||||
submap=reset
|
||||
|
||||
# Switch between floating and tiled windows
|
||||
|
||||
bind = ALT, TAB, cyclenext, floating
|
||||
bind = ALT, SPACE, focuscurrentorlast
|
||||
|
||||
# Media keys
|
||||
|
||||
bind = ,XF86AudioPlay,exec,playerctl play-pause
|
||||
bind = ,XF86AudioPause,exec,playerctl pause
|
||||
bind = ,XF86AudioStop,exec,playerctl stop
|
||||
bind = ,XF86AudioNext,exec,playerctl next
|
||||
bind = ,XF86AudioPrev,exec,playerctl previous
|
||||
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bind = ,XF86AudioMute,exec,pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
# Move focus with Mod + arrow keys
|
||||
|
||||
bind = $mainMod, left, movefocus, l
|
||||
bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Move windows with Mod + arrow keys
|
||||
|
||||
bind = $mainMod CTRL, left, movewindow, l
|
||||
bind = $mainMod CTRL, right, movewindow, r
|
||||
bind = $mainMod CTRL, up, movewindow, u
|
||||
bind = $mainMod CTRL, down, movewindow, d
|
||||
|
||||
# VI keybindings like God intended
|
||||
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
# Move windows with Mod + vi keys
|
||||
|
||||
bind = $mainMod CTRL, h, movewindow, l
|
||||
bind = $mainMod CTRL, l, movewindow, r
|
||||
bind = $mainMod CTRL, k, movewindow, u
|
||||
bind = $mainMod CTRL, j, movewindow, d
|
||||
|
||||
# Switch workspaces with Mod + [0-8]
|
||||
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
bind = $mainMod, 4, workspace, 4
|
||||
bind = $mainMod, 5, workspace, 5
|
||||
bind = $mainMod, 6, workspace, 6
|
||||
bind = $mainMod, 7, workspace, 7
|
||||
bind = $mainMod, 8, workspace, 8
|
||||
|
||||
# Move active window to a workspace with Mod + CTRL + [0-8]
|
||||
|
||||
bind = $mainMod CTRL, 1, movetoworkspace, 1
|
||||
bind = $mainMod CTRL, 2, movetoworkspace, 2
|
||||
bind = $mainMod CTRL, 3, movetoworkspace, 3
|
||||
bind = $mainMod CTRL, 4, movetoworkspace, 4
|
||||
bind = $mainMod CTRL, 5, movetoworkspace, 5
|
||||
bind = $mainMod CTRL, 6, movetoworkspace, 6
|
||||
bind = $mainMod CTRL, 7, movetoworkspace, 7
|
||||
bind = $mainMod CTRL, 8, movetoworkspace, 8
|
||||
|
||||
# Workspace monitor assignment
|
||||
|
||||
workspace = 1, monitor:eDP-1, default:true
|
||||
workspace = 2, monitor:eDP-1
|
||||
workspace = 3, monitor:eDP-1
|
||||
workspace = 4, monitor:eDP-1
|
||||
workspace = 5, monitor:eDP-1
|
||||
workspace = 6, monitor:eDP-1
|
||||
workspace = 7, monitor:eDP-1, default:true
|
||||
workspace = 8, monitor:eDP-1
|
||||
|
||||
# Special workspaces
|
||||
|
||||
bind = $mainMod, U, togglespecialworkspace, scratchpad
|
||||
bind = $mainMod SHIFT, S, movetoworkspace, special:scratchpad
|
||||
|
||||
bind = $mainMod, M, togglespecialworkspace, music
|
||||
bind = $mainMod, O, togglespecialworkspace, password
|
||||
bind = $mainMod, I, togglespecialworkspace, email
|
||||
|
||||
# Scroll through existing workspaces with Mod + scroll
|
||||
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
bind = $mainMod, mouse_up, workspace, e-1
|
||||
|
||||
# Scroll through existing workspaces with Mod + vi keys
|
||||
|
||||
bind = $mainMod ALT, l, workspace, e+1
|
||||
bind = $mainMod ALT, h, workspace, e-1
|
||||
|
||||
# Scroll through existing workspaces with Mod + arrow keys
|
||||
|
||||
bind = $mainMod ALT, right, workspace, e+1
|
||||
bind = $mainMod ALT, left, workspace, e-1
|
||||
|
||||
# Move/resize windows with Mod + LMB/RMB and dragging
|
||||
|
||||
bindm = $mainMod, mouse:272, movewindow
|
||||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Screenshot
|
||||
|
||||
bind = ,Print,exec,grim -g "$(slurp)" - | swappy -f -
|
||||
|
||||
# Dracula theme
|
||||
|
||||
general {
|
||||
col.active_border = rgb(6272A4) rgb(bd93f9) 90deg
|
||||
col.inactive_border = rgba(44475aaa)
|
||||
col.nogroup_border = rgba(282a36dd)
|
||||
col.nogroup_border_active = rgb(bd93f9) rgb(44475a) 90deg
|
||||
no_border_on_floating = false
|
||||
border_size = 2
|
||||
|
||||
}
|
||||
decoration:shadow {
|
||||
color = rgba(1E202966)
|
||||
enabled = true
|
||||
range = 60
|
||||
offset = 1 2
|
||||
render_power = 3
|
||||
scale = 0.97
|
||||
}
|
||||
|
||||
group {
|
||||
groupbar {
|
||||
col.active = rgb(bd93f9) rgb(44475a) 90deg
|
||||
col.inactive = rgba(282a36dd)
|
||||
}
|
||||
}
|
||||
windowrulev2 = bordercolor rgb(ff5555),xwayland:1 # check if window is xwayland
|
|
@ -1,107 +0,0 @@
|
|||
# BACKGROUND
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.wallpapers/castlevania.png
|
||||
blur_size = 3
|
||||
blur_passes = 2
|
||||
noise = 0.06
|
||||
contrast = 0.8
|
||||
brightness = 0.5
|
||||
vibrancy = 0.2
|
||||
vibrancy_darkness = 0.2
|
||||
}
|
||||
|
||||
# GENERAL
|
||||
general {
|
||||
no_fade_in = false
|
||||
grace = 0
|
||||
disable_loading_bar = false
|
||||
}
|
||||
|
||||
# Profie-Photo
|
||||
image {
|
||||
monitor =
|
||||
path = ~/.face
|
||||
border_size = 2
|
||||
border_color = rgba(248, 248, 242, 0.8)
|
||||
size = 200
|
||||
rounding = -1
|
||||
rotate = 0
|
||||
reload_time = -1
|
||||
reload_cmd =
|
||||
position = 0, 20
|
||||
halign = center
|
||||
valign = center
|
||||
shadow_passes = 2
|
||||
shadow_size = 4
|
||||
}
|
||||
|
||||
# Day-Month-Date
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "$(date +"%A, %B %d")"
|
||||
color = rgba(255, 121, 198, 0.70)
|
||||
font_size = 25
|
||||
font_family = Droid Sans Font, Font Awesome, Roboto, FreeSans, FreeSerif
|
||||
position = 0, 350
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# Time
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span>$(date +"%I:%M")</span>"
|
||||
color = rgba(139, 233, 253, 0.70)
|
||||
font_size = 120
|
||||
font_family = Droid Sans Font, Font Awesome, Roboto, FreeSans, FreeSerif
|
||||
position = 0, 250
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# USER
|
||||
label {
|
||||
monitor =
|
||||
text = Peter Domínguez
|
||||
color = rgba(248, 248, 242, 0.80)
|
||||
font_size = 20
|
||||
font_family = Droid Sans Font, Font Awesome, Roboto, FreeSans, FreeSerif
|
||||
position = 0, -130
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# INPUT FIELD
|
||||
input-field {
|
||||
monitor =
|
||||
size = 300, 60
|
||||
outline_thickness = 2
|
||||
dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
|
||||
dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
|
||||
dots_center = true
|
||||
outer_color = rgba(0, 0, 0, 0)
|
||||
inner_color = rgba(40, 42, 54, 0.5)
|
||||
font_color = rgb(68,71,90)
|
||||
check_color = rgba(255, 184, 108, 0.6)
|
||||
fail_color = rgba(255, 85, 85, 0.6)
|
||||
fade_on_empty = false
|
||||
placeholder_text = <span foreground="##F8F8F2"> <i>Enter Password</i></span>
|
||||
fail_text = <i>Login failed! Attempt(s): <b>$ATTEMPTS</b></i>
|
||||
hide_input = false
|
||||
position = 0, -210
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# CURRENT SONG
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "$(~/.bin/sh/songdetail.sh)"
|
||||
color = rgba(189, 147, 249, 0.8)
|
||||
font_size = 18
|
||||
font_family = Droid Sans Font, Font Awesome, Roboto, FreeSans, FreeSerif
|
||||
position = 0, 50
|
||||
halign = center
|
||||
valign = bottom
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
preload = /home/peter/.wallpapers/castlevania.png
|
||||
wallpaper = eDP-1,/home/peter/.wallpapers/castlevania.png
|
||||
splash = false
|
||||
#fully disable ipc
|
||||
# ipc = off
|
|
@ -1,19 +0,0 @@
|
|||
foreground #f8f8f2
|
||||
background #282a36
|
||||
title_fg #f8f8f2
|
||||
title_bg #282a36
|
||||
margin_bg #6272a4
|
||||
margin_fg #44475a
|
||||
removed_bg #ff5555
|
||||
highlight_removed_bg #ff5555
|
||||
removed_margin_bg #ff5555
|
||||
added_bg #50fa7b
|
||||
highlight_added_bg #50fa7b
|
||||
added_margin_bg #50fa7b
|
||||
filler_bg #44475a
|
||||
hunk_margin_bg #44475a
|
||||
hunk_bg #bd93f9
|
||||
search_bg #8be9fd
|
||||
search_fg #282a36
|
||||
select_bg #f1fa8c
|
||||
select_fg #282a36
|
|
@ -1,67 +0,0 @@
|
|||
# https://draculatheme.com/kitty
|
||||
#
|
||||
# Installation instructions:
|
||||
#
|
||||
# cp dracula.conf ~/.config/kitty/
|
||||
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
|
||||
#
|
||||
# Then reload kitty for the config to take affect.
|
||||
# Alternatively copy paste below directly into kitty.conf
|
||||
|
||||
foreground #f8f8f2
|
||||
background #282a36
|
||||
background_opacity 0.5
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
|
||||
url_color #8be9fd
|
||||
|
||||
# black
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
|
||||
# red
|
||||
color1 #ff5555
|
||||
color9 #ff6e6e
|
||||
|
||||
# green
|
||||
color2 #50fa7b
|
||||
color10 #69ff94
|
||||
|
||||
# yellow
|
||||
color3 #f1fa8c
|
||||
color11 #ffffa5
|
||||
|
||||
# blue
|
||||
color4 #bd93f9
|
||||
color12 #d6acff
|
||||
|
||||
# magenta
|
||||
color5 #ff79c6
|
||||
color13 #ff92df
|
||||
|
||||
# cyan
|
||||
color6 #8be9fd
|
||||
color14 #a4ffff
|
||||
|
||||
# white
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
|
||||
# Cursor colors
|
||||
cursor #f8f8f2
|
||||
cursor_text_color background
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
|
||||
# Marks
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
||||
|
||||
# Splits/Windows
|
||||
active_border_color #f8f8f2
|
||||
inactive_border_color #6272a4
|
|
@ -1,126 +0,0 @@
|
|||
# ┌───────────────────────────────────────────────────┐
|
||||
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
|
||||
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
|
||||
# │ ██████╔╝█████╗ ██║ █████╗ ██████╔╝███████╗ │
|
||||
# │ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ██╔══██╗╚════██║ │
|
||||
# │ ██║ ███████╗ ██║ ███████╗██║ ██║███████║ │
|
||||
# │ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ only small, mediocre thing: his kitty.conf file │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │Shorter than a default config, yet twice the autism│
|
||||
# │---------------------------------------------------│
|
||||
# │ https://gitlab.com/putridpete/dot-files │
|
||||
# └───────────────────────────────────────────────────┘
|
||||
|
||||
# 1. Color Scheme
|
||||
# ========================
|
||||
|
||||
include dracula.conf
|
||||
|
||||
# 2. Font
|
||||
# ========================
|
||||
|
||||
font_family Droid Sans Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
font_size 12.5
|
||||
|
||||
# 3. Cursor
|
||||
# ========================
|
||||
|
||||
cursor #d67fa2
|
||||
cursor_shape underline
|
||||
cursor_beam_thickness 9.0
|
||||
shell_integration no-cursor
|
||||
|
||||
# 4. Mouse
|
||||
# ========================
|
||||
|
||||
copy_on_select yes
|
||||
url_style dotted
|
||||
url_color #7fd67f
|
||||
focus_follows_mouse yes
|
||||
|
||||
# 5. Terminal bell
|
||||
# ========================
|
||||
|
||||
enable_audio_bell no
|
||||
bell_on_tab " "
|
||||
|
||||
# 6. Window layout
|
||||
# ========================
|
||||
|
||||
window_border_width 1.2pt
|
||||
enabled_layouts tall,fat,horizontal,splits,vertical,grid
|
||||
active_border_color #6272a4
|
||||
inactive_border_color #262733
|
||||
|
||||
# 7. Tab bar
|
||||
# ========================
|
||||
|
||||
tab_bar_edge top
|
||||
tab_bar_style powerline
|
||||
tab_bar_background #343850
|
||||
active_tab_background #ff79c6
|
||||
active_tab_foreground #262733
|
||||
inactive_tab_background #44475a
|
||||
inactive_tab_foreground #f8f8f2
|
||||
|
||||
# 8. Advanced
|
||||
# ========================
|
||||
|
||||
# startup_session ~/.config/kitty/session
|
||||
allow_remote_control yes
|
||||
repaint_delay 1
|
||||
sync_to_monitor yes
|
||||
|
||||
# 9. OS specific tweaks
|
||||
# ========================
|
||||
|
||||
linux_display_server wayland
|
||||
|
||||
# 10. Keyboard shortcuts
|
||||
# ========================
|
||||
map alt+h previous_tab
|
||||
map alt+l next_tab
|
||||
map alt+n new_tab
|
||||
map alt+b set_tab_title
|
||||
map alt+x close_tab
|
||||
map ctrl+shift+k scroll_line_up
|
||||
map ctrl+shift+j scroll_line_down
|
||||
map alt+enter new_window
|
||||
map alt+\ close_window
|
||||
map ctrl+h previous_window
|
||||
map ctrl+l next_window
|
||||
map ctrl+[ layout_action decrease_num_full_size_windows
|
||||
map ctrl+] layout_action increase_num_full_size_windows
|
||||
map ctrl+/ layout_action mirror toggle
|
||||
map ctrl+y layout_action mirror true
|
||||
map ctrl+n layout_action mirror false
|
||||
map ctrl+alt+t goto_layout tall
|
||||
map ctrl+alt+f goto_layout fat
|
||||
map ctrl+alt+h goto_layout horizontal
|
||||
map ctrl+alt+s goto_layout splits
|
||||
map ctrl+alt+v goto_layout vertical
|
||||
map ctrl+alt+g goto_layout grid
|
||||
map ctrl+alt+. move_tab_forward
|
||||
map ctrl+alt+, move_tab_backward
|
||||
map ctrl+f1 launch zsh -c "source ~/.zshrc;nnn -deUxH"
|
||||
map ctrl+f2 launch newsboat
|
||||
map ctrl+f3 launch kitty +kitten ssh debianbox
|
||||
map ctrl+f4 launch kitty +kitten ssh debian11
|
||||
map ctrl+f5 launch vim ~/.config/waybar/style.css
|
||||
map ctrl+f6 launch vim ~/.config/waybar/config
|
||||
map ctrl+f7 launch vim ~/.config/hypr/hyprland.conf
|
||||
map ctrl+f8 launch vim ~/.zshrc
|
||||
map ctrl+f9 launch vim ~/.config/kitty/session
|
||||
map ctrl+f10 launch vim ~/.config/kitty/kitty.conf
|
||||
map shift+alt+left resize_window narrower
|
||||
map shift+alt+right resize_window wider
|
||||
map shift+alt+up resize_window taller
|
||||
map shift+alt+down resize_window shorter 3
|
||||
map ctrl+alt+] next_window
|
||||
map ctrl+alt+[ previous_window
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
new_tab
|
||||
cd ~
|
||||
launch zsh -c "source ~/.zshrc;nnn -deUxH"
|
||||
new_tab
|
||||
launch newsboat
|
||||
new_tab
|
||||
launch --env EDITOR=vim glow -s dracula /mnt/M2/Nextcloud/Notes
|
||||
new_tab
|
||||
launch ttyper
|
||||
new_tab 1
|
||||
launch kitty +kitten ssh debianbox
|
||||
new_tab 2
|
||||
launch kitty +kitten ssh debbie
|
||||
new_tab 3
|
||||
launch kitty +kitten ssh debian11
|
|
@ -1,361 +0,0 @@
|
|||
# ┌───────────────────────────────────────────────────┐
|
||||
# │ ██████╗ ███████╗████████╗███████╗██████╗ ███████╗ │
|
||||
# │ ██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔════╝ │
|
||||
# │ ██████╔╝█████╗ ██║ █████╗ ██████╔╝███████╗ │
|
||||
# │ ██╔═══╝ ██╔══╝ ██║ ██╔══╝ ██╔══██╗╚════██║ │
|
||||
# │ ██║ ███████╗ ██║ ███████╗██║ ██║███████║ │
|
||||
# │ ╚═╝ ╚══════╝ ╚═╝ ╚══════╝╚═╝ ╚═╝╚══════╝ │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ depressing and totally messy sway config or │
|
||||
# ├───────────────────────────────────────────────────┤
|
||||
# │ How windows are the only well │
|
||||
# │ managed aspect of my life. │
|
||||
# │---------------------------------------------------│
|
||||
# │ https://gitlab.com/putridpete/dot-files │
|
||||
# └───────────────────────────────────────────────────┘
|
||||
#
|
||||
# Logo key. Use Mod1 for Alt.
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Home row direction keys, like vim
|
||||
|
||||
set $left h
|
||||
set $down j
|
||||
set $up k
|
||||
set $right l
|
||||
|
||||
# Terminal emulator
|
||||
|
||||
set $term kitty
|
||||
|
||||
# Application launcher
|
||||
|
||||
set $menu exec wofi -I
|
||||
set $nmtui exec foot -a launcher -e nmtui
|
||||
set $htop exec foot -a launcher -e htop
|
||||
set $nvtop exec foot -a launcher -e nvtop
|
||||
|
||||
# Output configuration
|
||||
|
||||
output eDP-1 {
|
||||
#options
|
||||
mode 1920x1080@60.020Hz scale 1.07777777
|
||||
position 0,0
|
||||
bg ~/.wallpapers/castlevania.png fill
|
||||
}
|
||||
|
||||
# Brightness control
|
||||
|
||||
bindsym --locked XF86MonBrightnessUp exec brightnessctl s 10%+
|
||||
bindsym --locked XF86MonBrightnessDown exec brightnessctl s 10%-
|
||||
|
||||
# Volume control
|
||||
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +10%
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -10%
|
||||
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
|
||||
# Input
|
||||
|
||||
input "type:keyboard" {
|
||||
#options
|
||||
xkb_layout us(altgr-intl)
|
||||
xkb_variant ,nodeadkeys
|
||||
xkb_options caps:escape
|
||||
}
|
||||
|
||||
input "type:touchpad" {
|
||||
dwt enabled
|
||||
tap enabled
|
||||
middle_emulation enabled
|
||||
}
|
||||
|
||||
# Key Bindings | Note: You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||
|
||||
# Start a terminal
|
||||
bindsym $mod+Return exec $term
|
||||
|
||||
# Kill focused window
|
||||
bindsym $mod+q kill
|
||||
# Screenshot
|
||||
bindsym Print exec grim -g "$(slurp)" - | swappy -f -
|
||||
# Toggle control center
|
||||
bindsym $mod+Shift+n exec swaync-client -t -sw
|
||||
# Start launcher
|
||||
#bindsym $mod+d exec "dmenu_run -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'monospace-10' -p 'dmenu'"
|
||||
bindsym $mod+p exec $menu
|
||||
bindsym $mod+Alt+n exec $nmtui
|
||||
bindsym $mod+Alt+j exec $nvtop
|
||||
bindsym $mod+m exec feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
bindsym $mod+g exec galculator
|
||||
bindsym $mod+c exec gsimplecal
|
||||
bindsym $mod+Ctrl+p exec swaylock -f
|
||||
bindsym $mod+Alt+v for_window [app_id="mpv"] floating enable, move absolute position 1270 710
|
||||
|
||||
# mouse button for dragging.
|
||||
floating_modifier $mod normal
|
||||
|
||||
# Reload the configuration file
|
||||
bindsym $mod+r reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
# Moving around:
|
||||
|
||||
# Move your focus around
|
||||
bindsym $mod+$left focus left
|
||||
bindsym $mod+$down focus down
|
||||
bindsym $mod+$up focus up
|
||||
bindsym $mod+$right focus right
|
||||
# Or use $mod+[up|down|left|right]
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# Move the focused window with $mod+Ctrl
|
||||
bindsym $mod+Ctrl+$left move left
|
||||
bindsym $mod+Ctrl+$down move down
|
||||
bindsym $mod+Ctrl+$up move up
|
||||
bindsym $mod+Ctrl+$right move right
|
||||
# Ditto, with arrow keys
|
||||
bindsym $mod+Ctrl+Left move left
|
||||
bindsym $mod+Ctrl+Down move down
|
||||
bindsym $mod+Ctrl+Up move up
|
||||
bindsym $mod+Ctrl+Right move right
|
||||
|
||||
# Workspaces:
|
||||
|
||||
# Switch to workspace
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+0 workspace number 10
|
||||
bindsym $mod+minus workspace number 11
|
||||
bindsym $mod+equal workspace number 12
|
||||
|
||||
# Move focused container to workspace
|
||||
bindsym $mod+Ctrl+1 move container to workspace number 1
|
||||
bindsym $mod+Ctrl+2 move container to workspace number 2
|
||||
bindsym $mod+Ctrl+3 move container to workspace number 3
|
||||
bindsym $mod+Ctrl+4 move container to workspace number 4
|
||||
bindsym $mod+Ctrl+5 move container to workspace number 5
|
||||
bindsym $mod+Ctrl+6 move container to workspace number 6
|
||||
bindsym $mod+Ctrl+7 move container to workspace number 7
|
||||
bindsym $mod+Ctrl+8 move container to workspace number 8
|
||||
bindsym $mod+Ctrl+9 move container to workspace number 9
|
||||
bindsym $mod+Ctrl+0 move container to workspace number 10
|
||||
bindsym $mod+Ctrl+minus move container to workspace number 11
|
||||
bindsym $mod+Ctrl+equal move container to workspace number 12
|
||||
|
||||
# Switch to prev/next workspace on all outputs
|
||||
bindsym $mod+Alt+Right workspace next
|
||||
bindsym $mod+Alt+Left workspace prev
|
||||
bindsym $mod+Alt+l workspace next
|
||||
bindsym $mod+Alt+h workspace prev
|
||||
|
||||
|
||||
|
||||
# Layout stuff:
|
||||
|
||||
|
||||
bindsym $mod+b splith
|
||||
bindsym $mod+v splitv
|
||||
|
||||
# Switch the current container between different layout styles
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# Make the current focus fullscreen
|
||||
bindsym $mod+f fullscreen
|
||||
|
||||
# Toggle the current focus between tiling and floating mode
|
||||
bindsym $mod+Ctrl+space floating toggle
|
||||
|
||||
# Swap focus between the tiling area and the floating area
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# Move focus to the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# Scratchpad:
|
||||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+grave 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+tab scratchpad show
|
||||
|
||||
# Resizing containers:
|
||||
|
||||
mode "resize" {
|
||||
# left will shrink the containers width
|
||||
# right will grow the containers width
|
||||
# up will shrink the containers height
|
||||
# down will grow the containers height
|
||||
bindsym $left resize shrink width 10px
|
||||
bindsym $down resize grow height 10px
|
||||
bindsym $up resize shrink height 10px
|
||||
bindsym $right resize grow width 10px
|
||||
|
||||
# Ditto, with arrow keys
|
||||
bindsym Left resize shrink width 10px
|
||||
bindsym Down resize grow height 10px
|
||||
bindsym Up resize shrink height 10px
|
||||
bindsym Right resize grow width 10px
|
||||
|
||||
# Return to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
# GTK theme
|
||||
|
||||
set $gnome-schema org.gnome.desktop.interface
|
||||
|
||||
# Status Bar:
|
||||
|
||||
bar {
|
||||
#position top
|
||||
mode invisible
|
||||
|
||||
# When the status_command prints a new line to stdout, swaybar updates.
|
||||
# The default just shows the current date and time.
|
||||
#status_command while date +'%A, %d-%m-%Y %H:%M %j'; do sleep 1; done
|
||||
#
|
||||
status_command waybar
|
||||
workspace_buttons yes
|
||||
|
||||
colors {
|
||||
background #282A36
|
||||
statusline #F8F8F2
|
||||
separator #44475A
|
||||
|
||||
focused_workspace #44475A #44475A #F8F8F2
|
||||
active_workspace #282A36 #44475A #F8F8F2
|
||||
inactive_workspace #282A36 #282A36 #BFBFBF
|
||||
urgent_workspace #FF5555 #FF5555 #F8F8F2
|
||||
binding_mode #FF5555 #FF5555 #F8F8F2
|
||||
}
|
||||
}
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
# class border bground text indicator child_border
|
||||
client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4
|
||||
client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A
|
||||
client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36
|
||||
client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555
|
||||
client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36
|
||||
|
||||
client.background #F8F8F2
|
||||
|
||||
gaps inner 10
|
||||
default_border pixel 2
|
||||
default_floating_border pixel 2
|
||||
|
||||
# Workspaces
|
||||
|
||||
workspace 1 output eDP-1
|
||||
workspace 2 output eDP-1
|
||||
workspace 3 output eDP-1
|
||||
workspace 4 output eDP-1
|
||||
workspace 5 output eDP-1
|
||||
workspace 6 output eDP-1
|
||||
workspace 7 output eDP-1
|
||||
workspace 8 output eDP-1
|
||||
workspace 9 output eDP-1
|
||||
workspace 10 output eDP-1
|
||||
workspace 11 output eDP-1
|
||||
workspace 12 output eDP-1
|
||||
|
||||
# Auto exec
|
||||
|
||||
### Variables
|
||||
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec --no-startup-id dbus-update-activation-environment --all
|
||||
|
||||
### Polkit Agent
|
||||
exec /usr/lib/polkit-kde-authentication-agent-1
|
||||
|
||||
### Autotiling
|
||||
exec autotiling-rs
|
||||
|
||||
### Notification Daemon
|
||||
exec swaync
|
||||
|
||||
### Idle configuration
|
||||
exec swayidle -w timeout 1800 'swaylock -f' timeout 1805 'swaymsg "output * power off"' resume 'swaymsg "output * power on"'
|
||||
|
||||
# Cursor
|
||||
seat seat0 xcursor_theme Dracula-cursors
|
||||
|
||||
# Lock screen after closing lid
|
||||
|
||||
set $lock 'swaylock -f'
|
||||
bindswitch --reload --locked lid:on exec $lock
|
||||
|
||||
### Dracula theme
|
||||
exec_always {
|
||||
gsettings set $gnome-schema gtk-theme 'Dracula'
|
||||
gsettings set $gnome-schema icon-theme 'Papirus-Dark'
|
||||
gsettings set $gnome-schema cursor-theme 'Dracula-cursors'
|
||||
}
|
||||
|
||||
### General
|
||||
exec nextcloud
|
||||
exec openrgb --startminimized
|
||||
exec swaymsg "workspace 1; exec firefox"
|
||||
exec steam-runtime
|
||||
exec jellyfinmediaplayer
|
||||
exec virt-manager
|
||||
exec kdenlive
|
||||
exec gimp
|
||||
exec keepassxc
|
||||
exec feishin --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
exec heroic --ozone-platform=wayland
|
||||
exec libreoffice --writer --norestore
|
||||
exec signal-desktop --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations
|
||||
exec swaymsg "workspace 2; exec kitty --session ~/.config/kitty/session --listen-on=unix:@mykitty"
|
||||
|
||||
# Window managment
|
||||
|
||||
focus_on_window_activation urgent
|
||||
focus_follows_mouse yes
|
||||
xwayland disable
|
||||
|
||||
assign [app_id="mpv"] output eDP-1
|
||||
assign [app_id="org.jellyfin.jellyfinmediaplayer"] workspace number 3
|
||||
assign [app_id="gimp"] workspace number 5
|
||||
assign [app_id="libreoffice-writer"] workspace number 4
|
||||
#assign [class="Signal"] workspace number 7
|
||||
for_window [app_id="signal"] floating enable, resize set 1280 px 768 px, move scratchpad
|
||||
for_window [app_id="nextcloud"] floating enable, resize set 600 px 800 px, move absolute position 1320 40
|
||||
for_window [app_id="nm-connection-editor"] floating enable, move absolute position 670 40
|
||||
for_window [app_id="gsimplecal"] floating enable, move absolute position 830 40
|
||||
for_window [app_id="org.keepassxc.KeePassXC"] floating enable, floating enable, move scratchpad, scratchpad show
|
||||
for_window [app_id="pavucontrol"] floating enable, move absolute position 1320 40, resize set 600 px 800 px
|
||||
for_window [app_id="galculator"] floating enable, move scratchpad, scratchpad show
|
||||
for_window [app_id="org.kde.polkit-kde-authentication-agent-1"] floating enable
|
||||
#for_window [app_id="org.rncbc.qsynth"] floating enable, resize 1280 ppt 768 ppt
|
||||
#for_window [app_id="signal"] resize set 633 px, move left, urgent deny
|
||||
#for_window [class="Signal"] resize set 633 px, move left, urgent deny
|
||||
for_window [app_id="feishin"] floating enable, resize set 1600 px 900 px, move scratchpad
|
||||
for_window [class="steam"] floating enable
|
||||
for_window [title="Steam"] floating disable
|
||||
for_window [app_id="mpv"] floating enable, resize set 640 px 320 px, move absolute position 1270 710, move scratchpad, scratchpad show
|
||||
for_window [app_id="xdg-desktop-portal-gtk"] floating enable, resize set 800 px 600px
|
||||
for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 46 ppt 60 ppt, border pixel 5
|
|
@ -1,29 +0,0 @@
|
|||
image=~/.wallpapers/castlevania2.png
|
||||
color=282a36
|
||||
inside-color=1F202A
|
||||
line-color=1F202A
|
||||
ring-color=bd93f9
|
||||
text-color=f8f8f2
|
||||
|
||||
layout-bg-color=1F202A
|
||||
layout-text-color=f8f8f2
|
||||
|
||||
inside-clear-color=6272a4
|
||||
line-clear-color=1F202A
|
||||
ring-clear-color=6272a4
|
||||
text-clear-color=1F202A
|
||||
|
||||
inside-ver-color=bd93f9
|
||||
line-ver-color=1F202A
|
||||
ring-ver-color=bd93f9
|
||||
text-ver-color=1F202A
|
||||
|
||||
inside-wrong-color=ff5555
|
||||
line-wrong-color=1F202A
|
||||
ring-wrong-color=ff5555
|
||||
text-wrong-color=1F202A
|
||||
|
||||
bs-hl-color=ff5555
|
||||
key-hl-color=50fa7b
|
||||
|
||||
text-caps-lock-color=f8f8f2
|
|
@ -1,270 +0,0 @@
|
|||
[{
|
||||
"output": "DP-1",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/mode"],
|
||||
"modules-center": ["hyprland/window"],
|
||||
"modules-right": ["mpris"],
|
||||
|
||||
"mpris": {
|
||||
"format": "<span color=\"#bd93f9\">{player_icon}</span> <span color=\"#f8f8f2\">{dynamic}</span>",
|
||||
"format-paused": "<span color=\"#bd93f9\">{status_icon}</span> <span color=\"#f8f8f2\">{dynamic}</span>",
|
||||
"tooltip-format": " {artist}: {title} ( {album})",
|
||||
"interval": 1,
|
||||
"album-len": 0,
|
||||
"player-icons": {
|
||||
"default": "",
|
||||
"mpv": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
// "ignored-players": ["firefox"]
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "<span color=\"#f8f8f2\">{title}</span> ",
|
||||
"max-length": 60,
|
||||
"icon": true,
|
||||
"icon-size": 20,
|
||||
"all-outputs" : true,
|
||||
},
|
||||
// "hyprland/workspaces": {
|
||||
// "format": "{icon}",
|
||||
// "on-click": "activate",
|
||||
// "format-icons": {
|
||||
// "1": "",
|
||||
// "2": "",
|
||||
// "3": "",
|
||||
// "4": "",
|
||||
// "5": "",
|
||||
// "6": "",
|
||||
// },
|
||||
// "sort-by-number": true
|
||||
//},
|
||||
}, {
|
||||
"output": "eDP-1",
|
||||
"layer": "top",
|
||||
"modules-left": ["hyprland/workspaces", "hyprland/mode"],
|
||||
"modules-center": ["custom/gpu-usage", "cpu", "memory", "temperature", "network#wifi", "network#lan", "custom/vpn", "clock", "custom/weather", "idle_inhibitor", "custom/pacman", "battery", "battery#2", "bluetooth", "backlight", "disk", "disk#disk2", "disk#disk3", "disk#disk4"],
|
||||
/* "modules-right": ["tray", "pulseaudio",], */
|
||||
"modules-right": ["tray", "pulseaudio", "group/group-power"],
|
||||
|
||||
"hyprland/mode": {
|
||||
"format": " {}"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"1": "",
|
||||
"2": "",
|
||||
"3": "",
|
||||
"4": "",
|
||||
"5": "",
|
||||
"6": "",
|
||||
"7": "",
|
||||
"8": "",
|
||||
},
|
||||
"sort-by-number": true
|
||||
},
|
||||
"custom/pacman": {
|
||||
"format": "<span color=\"#8BE9FD\"> </span>{}",
|
||||
"tooltip": false,
|
||||
"interval": 60,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"exec-if": "exit 0",
|
||||
"signal": 8
|
||||
},
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"format": "<span color=\"#f8f8f2\">{icon}</span> {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"battery": {
|
||||
"bat": "BAT1",
|
||||
"weighted-average": true,
|
||||
"interval": 60,
|
||||
"full-at": 84,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color=\"#bd93f9\">{icon}</span> {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"max-length": 25
|
||||
},
|
||||
"battery#2": {
|
||||
"bat": "BAT0",
|
||||
"weighted-average": true,
|
||||
"interval": 60,
|
||||
"full-at": 84,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "<span color=\"#bd93f9\">{icon}</span> {capacity}%",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"max-length": 25
|
||||
},
|
||||
|
||||
"group/group-power": {
|
||||
"orientation": "inherit",
|
||||
"drawer": {
|
||||
"transition-duration": 500,
|
||||
"children-class": "not-power",
|
||||
"transition-left-to-right": false,
|
||||
},
|
||||
"modules": [
|
||||
"custom/power",
|
||||
"custom/lock",
|
||||
"custom/reboot",
|
||||
]
|
||||
},
|
||||
"custom/lock": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "hyprlock"
|
||||
},
|
||||
"custom/reboot": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "shutdown -r now"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "shutdown -h now"
|
||||
},
|
||||
"network#lan": {
|
||||
"interface": "enp0s31f6",
|
||||
"format": "",
|
||||
"interval": 1,
|
||||
"format-ethernet": "<span color=\"#50fa7b\"> </span>{ifname}",
|
||||
"format-disconnected": "",
|
||||
"max-length": 50,
|
||||
"tooltip-format": "speed: {bandwidthDownBytes} / {bandwidthUpBytes}",
|
||||
"on-click": "kitty --class nmnet --single-instance -e nmtui",
|
||||
"on-click-right": "nm-connection-editor"
|
||||
|
||||
},
|
||||
"network#wifi": {
|
||||
"interface": "wlp3s0",
|
||||
"format": "",
|
||||
"interval": 1,
|
||||
"format-wifi": "<span color=\"#50fa7b\"> </span>{essid} ({signalStrength}%) ",
|
||||
"format-disconnected": "<span color=\"#F2F8F8\"></span>",
|
||||
"max-length": 50,
|
||||
"tooltip-format": "speed: {bandwidthDownBytes} / {bandwidthUpBytes}",
|
||||
"on-click": "kitty --class nmnet --single-instance -e nmtui",
|
||||
"on-click-right": "nm-connection-editor"
|
||||
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "<span color=\"#8694c0\"></span>",
|
||||
"deactivated": "<span color=\"#8694c0\"></span>"
|
||||
},
|
||||
"on-click": "toggleRemote"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span color=\"#FF92DF\"></span> {:%I:%M:%OS}",
|
||||
"interval": 1,
|
||||
"tooltip-format": "<big> {:%d/%m/%y}</big>",
|
||||
// "format-alt": "{:%Y-%m-%d}"
|
||||
"on-click": "gsimplecal"
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": "<span color=\"#cf7cac\">{icon}</span> {usage}%",
|
||||
"format-icons": [""]
|
||||
},
|
||||
"memory": {
|
||||
"format": "<span color=\"#8BE9FD\">{icon}</span> {percentage}%",
|
||||
"format-icons": [""]
|
||||
},
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
// "critical-threshold": 80,
|
||||
// "format-critical": "<span color=\"#ff5555\"></span> {temperatureC}°C",
|
||||
"format": "<span color=\"#f1fa8c\"></span> {temperatureC}°C",
|
||||
"tooltip": false,
|
||||
},
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "<span color=\"#8694c0\"></span><span color=\"#ffb86c\"> </span>/: {percentage_used}%",
|
||||
"path": "/"
|
||||
},
|
||||
"disk#disk2": {
|
||||
"interval": 30,
|
||||
"format": "<span color=\"#ba89ff\"> </span>~: {percentage_used}%",
|
||||
"path": "/home/peter"
|
||||
},
|
||||
"disk#disk3": {
|
||||
"interval": 30,
|
||||
"format": "<span color=\"#ff79c6\"> </span>SSD: {percentage_used}%",
|
||||
"path": "/mnt/SSD"
|
||||
},
|
||||
"disk#disk4": {
|
||||
"interval": 30,
|
||||
"format": "<span color=\"#3ac55d\"> </span>Backups: {percentage_used}%",
|
||||
"path": "/mnt/Backups"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": "0% {icon}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "<span color=\"#6272a4\"></span> {status}",
|
||||
"format-connected": "<span color=\"#6272a4\"></span> connected",
|
||||
"format-connected-battery": "<span color=\"#6272a4\"></span> Connected {device_battery_percentage}%",
|
||||
"on-click": "blueman-manager",
|
||||
// "format-device-preference": [ "device1", "device2" ], // preference list deciding the displayed device
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%"
|
||||
},
|
||||
"custom/vpn": {
|
||||
"format": "<span color=\"#ff5555\"></span> VPN",
|
||||
"tooltip": false,
|
||||
"exec": "echo '{\"class\": \"connected\"}'",
|
||||
"exec-if": "test -d /proc/sys/net/ipv4/conf/tun0",
|
||||
"return-type": "json",
|
||||
"on-click": "kitty --class nmnet --single-instance -e nmtui",
|
||||
"interval": 5
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "python ~/.config/waybar/scripts/weather.py",
|
||||
"restart-interval": 300,
|
||||
"format": "{}",
|
||||
"return-type": "json",
|
||||
"on-click": "xdg-open https://weather.com/en-IN/weather/today/l/e42bb25a58c2e689ec85e632d82e69d7e46c82defb9ad7a5551b6c3a70fbc282"
|
||||
// "format-alt": "{alt}",
|
||||
},
|
||||
"custom/gpu-usage": {
|
||||
"exec": "cat /sys/class/hwmon/hwmon1/device/gpu_busy_percent",
|
||||
"format": "<span color=\"#8694c0\"></span><span color=\"#bd93f9\"> </span>{}%",
|
||||
"return-type": "",
|
||||
"interval": 1,
|
||||
"tooltip": false
|
||||
},
|
||||
}]
|
|
@ -1,125 +0,0 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import subprocess
|
||||
from pyquery import PyQuery # install using `pip install pyquery`
|
||||
import json
|
||||
|
||||
# weather icons
|
||||
weather_icons = {
|
||||
"sunnyDay": "",
|
||||
"clearNight": "",
|
||||
"cloudyFoggyDay": "",
|
||||
"cloudyFoggyNight": "",
|
||||
"rainyDay": "",
|
||||
"rainyNight": "",
|
||||
"snowyIcyDay": "",
|
||||
"snowyIcyNight": "",
|
||||
"severe": "",
|
||||
"default": "",
|
||||
}
|
||||
|
||||
# get location_id
|
||||
# to get your own location_id, go to https://weather.com & search your location.
|
||||
# once you choose your location, you can see the location_id in the URL(64 chars long hex string)
|
||||
# like this: https://weather.com/en-IN/weather/today/l/c3e96d6cc4965fc54f88296b54449571c4107c73b9638c16aafc83575b4ddf2e
|
||||
location_id = "e42bb25a58c2e689ec85e632d82e69d7e46c82defb9ad7a5551b6c3a70fbc282" # TODO
|
||||
# location_id = "8139363e05edb302e2d8be35101e400084eadcecdfce5507e77d832ac0fa57ae"
|
||||
|
||||
# priv_env_cmd = 'cat $PRIV_ENV_FILE | grep weather_location | cut -d "=" -f 2'
|
||||
# location_id = subprocess.run(
|
||||
# priv_env_cmd, shell=True, capture_output=True).stdout.decode('utf8').strip()
|
||||
|
||||
# get html page
|
||||
url_fetch = "https://weather.com/en-IN/weather/today/l/" + location_id
|
||||
html_data = PyQuery(url=url_fetch)
|
||||
|
||||
# current temperature
|
||||
temp = html_data("span[data-testid='TemperatureValue']").eq(0).text()
|
||||
# print(temp)
|
||||
|
||||
# current status phrase
|
||||
status = html_data("div[data-testid='wxPhrase']").text()
|
||||
status = f"{status[:16]}.." if len(status) > 17 else status
|
||||
# print(status)
|
||||
|
||||
# status code
|
||||
status_code = html_data("#regionHeader").attr("class").split(" ")[2].split("-")[2]
|
||||
# print(status_code)
|
||||
|
||||
# status icon
|
||||
icon = (
|
||||
weather_icons[status_code]
|
||||
if status_code in weather_icons
|
||||
else weather_icons["default"]
|
||||
)
|
||||
# print(icon)
|
||||
|
||||
# temperature feels like
|
||||
temp_feel = html_data(
|
||||
"div[data-testid='FeelsLikeSection'] > span > span[data-testid='TemperatureValue']"
|
||||
).text()
|
||||
temp_feel_text = f"Feels like {temp_feel}C"
|
||||
# print(temp_feel_text)
|
||||
|
||||
# min-max temperature
|
||||
temp_min = (
|
||||
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
|
||||
.eq(0)
|
||||
.text()
|
||||
)
|
||||
temp_max = (
|
||||
html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']")
|
||||
.eq(1)
|
||||
.text()
|
||||
)
|
||||
temp_min_max = f" {temp_min}\t\t {temp_max}"
|
||||
# print(temp_min_max)
|
||||
|
||||
# wind speed
|
||||
wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[1]
|
||||
wind_text = f" {wind_speed}"
|
||||
# print(wind_text)
|
||||
|
||||
# humidity
|
||||
humidity = html_data("span[data-testid='PercentageValue']").text()
|
||||
humidity_text = f" {humidity}"
|
||||
# print(humidity_text)
|
||||
|
||||
# visibility
|
||||
visbility = html_data("span[data-testid='VisibilityValue']").text()
|
||||
visbility_text = f" {visbility}"
|
||||
# print(visbility_text)
|
||||
|
||||
# air quality index
|
||||
air_quality_index = html_data("text[data-testid='DonutChartValue']").text()
|
||||
# print(air_quality_index)
|
||||
|
||||
# hourly rain prediction
|
||||
prediction = html_data("section[aria-label='Hourly Forecast']")(
|
||||
"div[data-testid='SegmentPrecipPercentage'] > span"
|
||||
).text()
|
||||
prediction = prediction.replace("Chance of Rain", "")
|
||||
prediction = f"\n\n (hourly) {prediction}" if len(prediction) > 0 else prediction
|
||||
# print(prediction)
|
||||
|
||||
# tooltip text
|
||||
tooltip_text = str.format(
|
||||
"\t\t{}\t\t\n{}\n{}\n{}\n\n{}\n{}\n{}{}",
|
||||
f'<span size="xx-large">{temp}C 🇩🇴</span>',
|
||||
f"<big>{icon}</big>",
|
||||
f"<big>{status}</big>",
|
||||
f"<small>{temp_feel_text}</small>",
|
||||
f"<big>{temp_min_max}</big>",
|
||||
f"{wind_text}\t{humidity_text}",
|
||||
f"{visbility_text}\tAQI {air_quality_index}",
|
||||
f"<i>{prediction}</i>",
|
||||
)
|
||||
|
||||
# print waybar module data
|
||||
out_data = {
|
||||
"text": f"{icon} {temp}",
|
||||
"alt": status,
|
||||
"tooltip": tooltip_text,
|
||||
"class": status_code,
|
||||
}
|
||||
print(json.dumps(out_data))
|
|
@ -1,348 +0,0 @@
|
|||
* {
|
||||
border: none;
|
||||
border-radius: 10;
|
||||
font-family: "Droid Sans Font, Font Awesome, Roboto, FreeSans, FreeSerif" ;
|
||||
font-size: 16px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#window {
|
||||
margin-top: 6px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: transparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#mode {
|
||||
color: #ff5555;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
#workspaces button:hover {
|
||||
box-shadow: inherit;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: #ff79c6;
|
||||
color: #282a36;
|
||||
}
|
||||
|
||||
|
||||
#network {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #282a36;
|
||||
background: #50fa7b;
|
||||
}
|
||||
|
||||
#bluetooth {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#battery {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: #f8f8f2;
|
||||
background-color: #282a36;
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #282a36;
|
||||
color: #f8f8f2;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #282a36;
|
||||
color: #f8f8f2;
|
||||
}
|
||||
}
|
||||
|
||||
#backlight {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
#clock {
|
||||
margin-top: 6px;
|
||||
margin-left: 6px;
|
||||
padding-left: 8px;
|
||||
padding-right: 3px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: transparent;
|
||||
/*background: #1A1826;*/
|
||||
}
|
||||
|
||||
#memory {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
#cpu {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#tray {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 10px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #5d4185;
|
||||
}
|
||||
|
||||
#disk {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
margin-top: 6px;
|
||||
margin-left: 1px;
|
||||
padding-left: 1px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
color: #50fa7b;
|
||||
}
|
||||
|
||||
#custom-vpn {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
margin-top: 6px;
|
||||
margin-left: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 8px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#custom-weather.severe {
|
||||
color: #ff5555;
|
||||
}
|
||||
|
||||
#custom-weather.sunnyDay {
|
||||
color: #f1fa8c;
|
||||
}
|
||||
|
||||
#custom-weather.clearNight {
|
||||
color: #bd93f9;
|
||||
}
|
||||
|
||||
#custom-weather.cloudyFoggyDay, #custom-weather.cloudyFoggyNight {
|
||||
color: #9599b4;
|
||||
}
|
||||
|
||||
#custom-weather.rainyDay, #custom-weather.rainyNight {
|
||||
color: #8be9fd;
|
||||
}
|
||||
|
||||
#custom-weather.showyIcyDay, #custom-weather.snowyIcyNight {
|
||||
color: #8be9fd;
|
||||
}
|
||||
|
||||
#custom-weather.default {
|
||||
color: #f8f8f2;
|
||||
}
|
||||
|
||||
#custom-gpu-usage {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #282a36;
|
||||
}
|
||||
#mpris {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 6px;
|
||||
margin-right: 6px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #bd93f9;
|
||||
background: #282a36;
|
||||
}
|
||||
#custom-scratchpad-indicator {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f8f2;
|
||||
background: #6272a4;
|
||||
}
|
||||
#custom-power {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
margin-bottom: 0px;
|
||||
margin-right: 6px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #282A36;
|
||||
background: #FF5555;
|
||||
}
|
||||
#custom-lock {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #282A36;
|
||||
background: #FFB86C;
|
||||
}
|
||||
#custom-reboot {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #282A36;
|
||||
background: #8BE9FD;
|
||||
}
|
||||
#custom-pacman {
|
||||
margin-top: 6px;
|
||||
margin-left: 8px;
|
||||
padding-left: 7px;
|
||||
padding-right: 7px;
|
||||
margin-bottom: 0px;
|
||||
border-radius: 10px;
|
||||
transition: none;
|
||||
color: #f8f2f2;
|
||||
background: #282a36;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash
|
||||
YTFZF_ENABLE_FZF_DEFAULT_OPTS=1
|
||||
FZF_DEFAULT_OPTS="--color=border:magenta,info:green,header:green,info:yellow,hl:blue,label:magenta"
|
||||
show_thumbnails=1
|
||||
load_thumbnail_viewer kitty
|
||||
thumbnail_video_info_text () {
|
||||
printf "\n${c_cyan}%s" "$title"
|
||||
printf "\n "
|
||||
printf "\n${c_blue}Channel ${c_green}%s" "$channel"
|
||||
printf "\n${c_blue}Duration ${c_yellow}%s" "$duration"
|
||||
printf "\n${c_blue}Views ${c_magenta}%s" "$views"
|
||||
printf "\n${c_blue}Date ${c_cyan}%s" "$date"
|
||||
printf "\n "
|
||||
}
|
|
@ -1,30 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
get_search_from_EXT_comments (){
|
||||
_search="${selected_url}"
|
||||
}
|
||||
|
||||
set +f
|
||||
instances=$(printf "%s\n" "${YTFZF_TEMP_DIR}"/*)
|
||||
set -f
|
||||
|
||||
instance_count=$(echo "$instances" | wc -l)
|
||||
|
||||
if [ "$instance_count" -gt 1 ]; then
|
||||
printf "%s\n" "More than 1 ytfzf instance is running, please select one"
|
||||
echo "$instances" | sed 's/.*\///' | nl
|
||||
read -r num
|
||||
|
||||
instance="$(echo "$instances" | sed -n "${num}p")"
|
||||
else
|
||||
instance="$instances"
|
||||
fi
|
||||
|
||||
read -r selected_url < "${instance}/ids"
|
||||
|
||||
[ -z "$selected_url" ] && {
|
||||
printf "%s\n" "This instance is not playing a video"
|
||||
}
|
||||
|
||||
scrape="comments"
|
||||
search_source="EXT_comments"
|
|
@ -1,35 +0,0 @@
|
|||
https://www.youtube.com/channel/UC7YOGHUfC1Tb6E4pudI9STA # Mental Outlaw
|
||||
https://www.youtube.com/channel/UCVls1GmFKf6WlTraIb_IaJg # DT
|
||||
https://www.youtube.com/channel/UCbQ4fbi0fy3d6Hb7q2FIATw # itsagundam
|
||||
https://www.youtube.com/channel/UCld68syR8Wi-GY_n4CaoJGA # Brodie
|
||||
https://www.youtube.com/channel/UC5KDiSAFxrDWhmysBcNqtMA # Eric Murphy
|
||||
https://www.youtube.com/channel/UCjSEJkpGbcZhvo0lr-44X_w # TechHut
|
||||
https://www.youtube.com/channel/UCiP_FwGyJQ_6P8k5ON5mncQ # Matt McMuscles
|
||||
https://www.youtube.com/channel/UC3ltptWa0xfrDweghW94Acg # Karl Jobst
|
||||
https://www.youtube.com/channel/UCdJdEguB1F1CiYe7OEi3SBg # jontron
|
||||
https://www.youtube.com/channel/UChIs72whgZI9w6d6FhwGGHA # Gamers Nexus
|
||||
https://www.youtube.com/channel/UC0M0rxSz3IF0CsSour1iWmw # Cinemassacre
|
||||
https://www.youtube.com/channel/UCmpaIXvID-FsN5xsUNolYAw # GTV Japan
|
||||
https://www.youtube.com/channel/UCNeU-ameY0dcKiltExqvhIw # GOG
|
||||
https://www.youtube.com/channel/UCGIY_O-8vW4rfX98KlMkvRg # Nintendo
|
||||
https://www.youtube.com/channel/UCjBp_7RuDBUYbd1LegWEJ8g # Xbox
|
||||
https://www.youtube.com/channel/UCWfXR0-F7MI-TbqikgEdJcQ # Sega
|
||||
https://www.youtube.com/channel/UCvZHe-SP3xC7DdOk4Ri8QBw # Bethesda
|
||||
https://www.youtube.com/channel/UC_ntXHv-XdKCD7CPynVvnQw # Bandai
|
||||
https://www.youtube.com/channel/UCW7h-1mymnJ96akzjrmiIgA # Capcom
|
||||
https://www.youtube.com/channel/UCnSp56qlKGr2lrPqyxtWGhw # 3D Realms
|
||||
https://www.youtube.com/channel/UCFctpiB_Hnlk3ejWfHqSm6Q # Pokémon
|
||||
https://www.youtube.com/channel/UCLx053rWZxCiYWsBETgdKrQ # LGR
|
||||
https://www.youtube.com/channel/UChbPPu6LmY3VJzW4XTgvwgA # OhNoItsAlexx
|
||||
https://www.youtube.com/channel/UCSE_JyJeiJQvg3RCnSD272Q # SmugAlana
|
||||
https://www.youtube.com/channel/UCCAfRoTJrKPbSrh_Eg3i4vg # TomDark
|
||||
https://www.youtube.com/channel/UCXoKg7Uvy4E7G3oW-Id5k1A # Acheeto
|
||||
https://www.youtube.com/channel/UCtMVHI3AJD4Qk4hcbZnI9ZQ # SomeOrdinaryGamers
|
||||
https://www.youtube.com/channel/UC3jSNmKWYA04R47fDcc1ImA # InfinitelyGalactic
|
||||
https://www.youtube.com/channel/UC1s1OsWNYDFgbROPV-q5arg # Michael Horn
|
||||
https://www.youtube.com/channel/UCl2mFZoRqjw_ELax4Yisf6w # Louis Rossmann
|
||||
https://www.youtube.com/channel/UCSuHzQ3GrHSzoBbwrIq3LLA # Naomi Brockwell TV
|
||||
https://www.youtube.com/channel/UCsVIQ2ipmCbua6s8ThFLo5A # Shrouded Hand
|
||||
https://www.youtube.com/channel/UC3yaWWA9FF9OBog5U9ml68A # SavvyNik
|
||||
https://www.youtube.com/channel/UCCzK4LJkDl73MQMbr8Lrcww # joeybtoonz
|
||||
https://www.youtube.com/channel/UCQeRaTukNYft1_6AZPACnog # Asmongold TV
|
Loading…
Add table
Add a link
Reference in a new issue