diff options
| author | jakobst1n <jakob@jakobstendahl.no> | 2025-10-06 18:50:42 +0200 |
|---|---|---|
| committer | jakobst1n <jakob@jakobstendahl.no> | 2025-10-06 18:50:54 +0200 |
| commit | 3afb0ef320159180bfce5c53ada5e67a34d0cb34 (patch) | |
| tree | 8d72c94f0dd5da3b57f8368a88207511f4a99e88 | |
| parent | ec14231679cf988ad955d73c9fb3493aae30f380 (diff) | |
| download | dotfiles-3afb0ef320159180bfce5c53ada5e67a34d0cb34.tar.gz dotfiles-3afb0ef320159180bfce5c53ada5e67a34d0cb34.zip | |
Remove unused stuff
26 files changed, 0 insertions, 3020 deletions
diff --git a/linux/bspwm/bspwmrc b/linux/bspwm/bspwmrc deleted file mode 100755 index 717e1e5..0000000 --- a/linux/bspwm/bspwmrc +++ /dev/null @@ -1,39 +0,0 @@ -#! /bin/sh - -pgrep -x sxhkd > /dev/null || sxhkd & - -#compton --backend glx --vsync opengl-swc & -compton & -nitrogen --restore & -polybar & - -bspc monitor -d I II III IV V VI VII VIII IX X - -bspc config border_width 2 -bspc config window_gap 3 - -bspc config split_ratio 0.52 -bspc config borderless_monocle true -bspc config gapless_monocle true - -bspc config focus_follows_pointer true - -bspc config automatic_scheme longest_side -bspc config single_monocle true - -bspc rule -a Gimp desktop='^8' state=floating follow=on -bspc rule -a mplayer2 state=floating -bspc rule -a Kupfer.py focus=on -bspc rule -a Screenkey manage=off - -# Floating Apps -declare -a floatingApps=(xdman-Main Lxappearance Nextcloud Gparted Thunar \ -Viewnior Xarchiver Pavucontrol firefox:Dialog \ -firefox:Pop-up nitrogen Gpick) -for i in ${floatingApps[@]}; do - bspc rule -a $i state=floating focus=on follow=on; done - -declare -a floatingCust=(*:*:Picture-in-picture *:Toolkit:Picture-in-Picture mpv) -for i in ${floatingCust[@]}; do - bspc rule -a $i state=floating sticky=on follow=off focus=on \ - rectangle=500x300+1366+50; done diff --git a/linux/deadd/deadd.conf b/linux/deadd/deadd.conf deleted file mode 100644 index e69de29..0000000 --- a/linux/deadd/deadd.conf +++ /dev/null diff --git a/linux/foot/foot.ini b/linux/foot/foot.ini deleted file mode 100644 index 6959986..0000000 --- a/linux/foot/foot.ini +++ /dev/null @@ -1,205 +0,0 @@ -# -*- conf -*- - -# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) -# term=foot (or xterm-256color if built with -Dterminfo=disabled) -term=xterm-256color -# login-shell=no - -# app-id=foot -# title=foot -# locked-title=no - -#font=monospace:size=11 -font=RobotoMono Nerd Font Mono:size=10 -#font=Source Code Pro for Powerline:size=10 - -# font-bold=<bold variant of regular font> -# font-italic=<italic variant of regular font> -# font-bold-italic=<bold+italic variant of regular font> -# line-height=<font metrics> -# letter-spacing=0 -# horizontal-letter-offset=0 -# vertical-letter-offset=0 -# underline-offset=<font metrics> -# box-drawings-uses-font-glyphs=no -dpi-aware=no - -# initial-window-size-pixels=700x500 # Or, -# initial-window-size-chars=<COLSxROWS> -# initial-window-mode=windowed -pad=0x0 center # optionally append 'center' -# resize-delay-ms=100 - -# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} - -# bold-text-in-bright=no -# word-delimiters=,│`|:"'()[]{}<> -# selection-target=primary -# workers=<number of logical CPUs> - -[bell] -# urgent=no -# notify=no -# command= -# command-focused=no - -[scrollback] -# lines=1000 -# multiplier=3.0 -# indicator-position=relative -# indicator-format= - -[url] -# launch=xdg-open ${url} -# label-letters=sadfjklewcmpgh -# osc8-underline=url-mode -# protocols=http, https, ftp, ftps, file, gemini, gopher -# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="' - -[cursor] -# style=block -# color=111111 dcdccc -# blink=no -# beam-thickness=1.5 -# underline-thickness=<font underline thickness> - -[mouse] -# hide-when-typing=no -# alternate-scroll-mode=yes - -[colors] -alpha=1 - -background= eeeeee -foreground= 000000 - -regular0 = 24292f -regular1 = cf222e -regular2 = 116329 -regular3 = 4d2d00 -regular4 = 0969da -regular5 = 8250df -regular6 = 1b7c83 -regular7 = 6e7781 - -bright0 = 57606a -bright1 = a40e26 -bright2 = 00d700 -bright3 = fcfc62 -bright4 = 0000ff -bright5 = a475f9 -bright6 = 3192aa -bright7 = 8c959f - -# foreground=dcdccc -# background=111111 - -## Normal/regular colors (color palette 0-7) -# regular0=222222 # black -# regular1=cc9393 # red -# regular2=7f9f7f # green -# regular3=d0bf8f # yellow -# regular4=6ca0a3 # blue -# regular5=dc8cc3 # magenta -# regular6=93e0e3 # cyan -# regular7=dcdccc # white - -## Bright colors (color palette 8-15) -# bright0=666666 # bright black -# bright1=dca3a3 # bright red -# bright2=bfebbf # bright green -# bright3=f0dfaf # bright yellow -# bright4=8cd0d3 # bright blue -# bright5=fcace3 # bright magenta -# bright6=b3ffff # bright cyan -# bright7=ffffff # bright white - -## dimmed colors (see foot.ini(5) man page) -# dim0=<not set> -# ... -# dim7=<not-set> - -## The remaining 256-color palette -# 16 = <256-color palette #16> -# ... -# 255 = <256-color palette #255> - -## Misc colors -# selection-foreground=<inverse foreground/background> -# selection-background=<inverse foreground/background> -# jump-labels=<regular0> <regular3> -# urls=<regular3> -# scrollback-indicator=<regular0> <bright4> - -[csd] -# preferred=server -# size=26 -# font=<primary font> -# color=<foreground color> -border-width=0 -# border-color=<csd.color> -# button-width=26 -# button-color=<background color> -# button-minimize-color=<regular4> -# button-maximize-color=<regular2> -# button-close-color=<regular1> - -[key-bindings] -# scrollback-up-page=Shift+Page_Up -# scrollback-up-half-page=none -# scrollback-up-line=none -# scrollback-down-page=Shift+Page_Down -# scrollback-down-half-page=none -# scrollback-down-line=none -clipboard-copy=Mod1+c XF86Copy -clipboard-paste=Mod1+v XF86Paste -# primary-paste=Shift+Insert -# search-start=Control+Shift+r -# font-increase=Control+plus Control+equal Control+KP_Add -# font-decrease=Control+minus Control+KP_Subtract -# font-reset=Control+0 Control+KP_0 -# spawn-terminal=Control+Shift+n -# minimize=none -# maximize=none -# fullscreen=none -# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none -# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none -# pipe-selected=[xargs -r firefox] none -# show-urls-launch=Control+Shift+u -# show-urls-copy=none -# noop=none - -[search-bindings] -# cancel=Control+g Control+c Escape -# commit=Return -# find-prev=Control+r -# find-next=Control+s -# cursor-left=Left Control+b -# cursor-left-word=Control+Left Mod1+b -# cursor-right=Right Control+f -# cursor-right-word=Control+Right Mod1+f -# cursor-home=Home Control+a -# cursor-end=End Control+e -# delete-prev=BackSpace -# delete-prev-word=Mod1+BackSpace Control+BackSpace -# delete-next=Delete -# delete-next-word=Mod1+d Control+Delete -# extend-to-word-boundary=Control+w -# extend-to-next-whitespace=Control+Shift+w -# clipboard-paste=Control+v Control+y -# primary-paste=Shift+Insert - -[url-bindings] -# cancel=Control+g Control+c Control+d Escape -# toggle-url-visible=t - -[mouse-bindings] -# selection-override-modifiers=Shift -# primary-paste=BTN_MIDDLE -# select-begin=BTN_LEFT -# select-begin-block=Control+BTN_LEFT -# select-extend=BTN_RIGHT -# select-extend-character-wise=Control+BTN_RIGHT -# select-word=BTN_LEFT-2 -# select-word-whitespace=Control+BTN_LEFT-2 -# select-row=BTN_LEFT-3 diff --git a/linux/i3/Xresources b/linux/i3/Xresources deleted file mode 100755 index ffd6974..0000000 --- a/linux/i3/Xresources +++ /dev/null @@ -1,184 +0,0 @@ -! ------------------------------------------------------------------------------ -! Colour Configuration -! ------------------------------------------------------------------------------ - -! special -!*.foreground: #d8dee8 -*.foreground: #e5e9f0 -!*.background: #2f343f -*.background: #121212 -*.cursorColor: #b48ead - -! black -*.color0 : #121212 -!*.color0 : #4b5262 -!*.color8 : #000000 -*.color8 : #434a5a - -! red -*.color1 : #bf616a -*.color9 : #b3555e - -! green -*.color2 : #a3be8c -*.color10 : #93ae7c - -! yellow -*.color3 : #ebcb8b -*.color11 : #dbbb7b - -! blue -*.color4 : #81a1c1 -*.color12 : #7191b1 - -! magenta -*.color5 : #b48ead -*.color13 : #a6809f - -! cyan -*.color6 : #89d0bA -*.color14 : #7dbba8 - -! white -*.color7 : #e5e9f0 -*.color15 : #d1d5dc - - -! ----------- -! Light theme -! ----------- -!! *.foreground: #3b2322 -!! *.background: #dfdbc3 -!! *.cursorColor: #73635a -!! ! -!! ! Black -!! *.color0: #000000 -!! *.color8: #808080 -!! ! -!! ! Red -!! *.color1: #cc0000 -!! *.color9: #cc0000 -!! ! -!! ! Green -!! *.color2: #009600 -!! *.color10: #009600 -!! ! -!! ! Yellow -!! *.color3: #d06b00 -!! *.color11: #d06b00 -!! ! -!! ! Blue -!! *.color4: #0000cc -!! *.color12: #0000cc -!! ! -!! ! Magenta -!! *.color5: #cc00cc -!! *.color13: #cc00cc -!! ! -!! ! Cyan -!! *.color6: #0087cc -!! *.color14: #0087cc -!! ! -!! ! White -!! *.color7: #cccccc -!! *.color15: #ffffff -!! ! -!! ! Bold, Italic, Underline -!! *.colorBD: #8e2a19 -!! !*.colorIT: -!! !*.colorUL: - - -! ------------------------------------------------------------------------------ -! Font configuration -! ------------------------------------------------------------------------------ - -!URxvt*font: xft:RobotoMono\ Nerd\ Font\ Mono:size=10 -!URxvt*boldFont: xft:RobotoMono\ Nerd\ Font\ Mono:size=10 -!URxvt*italicFont: xft:RobotoMono\ Nerd\ Font\ Mono:size=10 -!URxvt*boldItalicFont: xft:RobotoMono\ Nerd\ Font\ Mono:size=10 -URxvt*font: xft:Sauce\ Code\ Pro\ Nerd\ Font\ Mono:size=10,xft:Source Code Pro Semibold:size=10,xft:Noto Mono:size=10,xft:Symbola:size=10 -URxvt*boldFont: xft:Sauce\ Code\ Pro\ Nerd\ Font\ Mono:size=10,xft:Source Code Pro Semibold:size=10,xft:Noto Mono:size=10,xft:Symbola:size=10 -URxvt*italicFont: xft:Sauce\ Code\ Pro\ Nerd\ Font\ Mono:size=10,xft:Source Code Pro Semibold:size=10,xft:Noto Mono:size=10,xft:Symbola:size=10 -URxvt*boldItalicFont: xft:Sauce\ Code\ Pro\ Nerd\ Font\ Mono:size=10,xft:Source Code Pro Semibold:size=10,xft:Noto Mono:size=10,xft:Symbola:size=10 - -! ------------------------------------------------------------------------------ -! Xft Font Configuration -! ------------------------------------------------------------------------------ - -Xft.autohint: 0 -Xft.lcdfilter: lcddefault -Xft.hintstyle: hintslight -Xft.hinting: 1 -Xft.antialias: 1 -Xft.rgba: rgb - -! ------------------------------------------------------------------------------ -! URxvt configs -! ------------------------------------------------------------------------------ - -! font spacing -URxvt*letterSpace: 0 -URxvt.lineSpace: 0 - -! general settings -URxvt*saveline: 15000 -URxvt*termName: rxvt-256color -URxvt*iso14755: false -URxvt*urgentOnBell: true - -! appearance -URxvt*depth: 0 -URxvt*scrollBar: false -URxvt*scrollBar_right: false -URxvt*internalBorder: 0 -URxvt*externalBorder: 0 -URxvt.geometry: 84x22 - -! perl extensions -URxvt.perl-ext-common: default,clipboard,url-select,resize-font,keyboard-select - -! macros for clipboard and selection -URxvt.copyCommand: xclip -i -selection clipboard -URxvt.pasteCommand: xclip -o -selection clipboard -URxvt.keysym.M-c: perl:clipboard:copy -URxvt.keysym.M-v: perl:clipboard:paste -URxvt.keysym.M-C-v: perl:clipboard:paste_escaped -URxvt.keysym.M-Escape: perl:keyboard-select:activate -URxvt.keysym.M-s: perl:keyboard-select:search -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.urlLauncher: firefox -URxvt.underlineURLs: true -URxvt.urlButton: 1 - -! scroll one line -URxvt.keysym.Shift-Up: command:\033]720;1\007 -URxvt.keysym.Shift-Down: command:\033]721;1\007 - -! control arrow -URxvt.keysym.Control-Up: \033[1;5A -URxvt.keysym.Control-Down: \033[1;5B -URxvt.keysym.Control-Right: \033[1;5C -URxvt.keysym.Control-Left: \033[1;5D - -! ------------------------------------------------------------------------------ -! Rofi configs -! ------------------------------------------------------------------------------ - -rofi.color-enabled: true -rofi.color-window: #2e3440, #f0d48b, #2e3440 -rofi.color-normal: #2e3440, #d8dee9, #2e3440, #2e3440, #bf616a -rofi.color-active: #2e3440, #b48ead, #2e3440, #2e3440, #93e5cc -rofi.color-urgent: #2e3440, #ebcb8b, #2e3440, #2e3440, #ebcb8b -rofi.bw: 2 -rofi.modi: run,drun,window - -! ------------------------------------------------------------------------------ -! Dmenu configs -! ------------------------------------------------------------------------------ - -dmenu.selforeground: #d8dee9 -dmenu.background: #2e3440 -dmenu.selbackground: #bf616a -dmenu.foreground: #d8dee9 - diff --git a/linux/i3/config/compton.conf b/linux/i3/config/compton.conf deleted file mode 100755 index 1062499..0000000 --- a/linux/i3/config/compton.conf +++ /dev/null @@ -1,59 +0,0 @@ -## shadow -#shadow = true; -#no-dnd-shadow = true; -#no-dock-shadow = true; -#clear-shadow = true; -#shadow-radius = 12; -#shadow-offset-x = -12; -#shadow-offset-y = -12; -#shadow-opacity = 0.95; -#shadow-red = 0.18; -#shadow-green = 0.20; -#shadow-blue = 0.25; -#shadow-exclude = [ "class_g = 'Cairo-clock'" , -# "class_g = 'CoverGloobus'", -# "class_g = 'Tilda'", -# "class_g = 'Conky'", -# "class_g ?= 'Notify-osd'", -# "class_g = 'Firefox'", -# "class_g = 'Firefox-esr'", -# "class_g = 'Dmenu'", -# "name = 'Notification'", -# "_GTK_FRAME_EXTENTS@:c" -#]; - -## fading -#fading = true; -#fade-delta = 0.25; -#fade-in-step = 0.02; -#fade-out-step = 0.02; -#fade-exclude = [ -#]; - -## other -#backend = "xrender"; -backend = "glx"; -vsync = "opengl-swc"; -glx-no-stencil = true; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -detect-rounded-corners = true; -#detect-client-opacity = true; -refresh-rate = 0; -dbe = false; -paint-on-overlay = true; -#focus-exclude = [ "class_g = 'Cairo-clock'" , -# "class_g = 'CoverGloobus'", -# "class_g = 'Tilda'", -# "class_g = 'Firefox'", -# "class_g = 'Firefox-esr'" -#]; -#detect-transient = true; -#detect-client-leader = true; -#invert-color-include = [ ]; -#glx-copy-from-front = false; -#glx-swap-method = "undefined"; -#wintypes: -#{ -# tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; }; -#}; diff --git a/linux/i3/config/dunst/dunstrc b/linux/i3/config/dunst/dunstrc deleted file mode 100755 index 5df67b7..0000000 --- a/linux/i3/config/dunst/dunstrc +++ /dev/null @@ -1,52 +0,0 @@ -[global] -monitor = 0 -follow = mouse -geometry = "250x50-24+24" -indicate_hidden = yes -shrink = no -separator_height = 0 -padding = 16 -horizontal_padding = 24 -frame_width = 2 -sort = no -idle_threshold = 120 -font = Noto Sans 8 -line_height = 4 -markup = full -format = "<b>%s</b>\n%b" -alignment = left -show_age_threshold = 60 -word_wrap = yes -ignore_newline = no -stack_duplicates = false -hide_duplicate_count = yes -show_indicators = no -icon_position = off -sticky_history = yes -history_length = 20 -browser = /usr/bin/firefox -new-tab -always_run_script = true -title = Dunst -class = Dunst - -[shortcuts] -close = ctrl+space -close_all = ctrl+shift+space -history = ctrl+grave -context = ctrl+shift+period - -[urgency_low] -background = "#2f343f" -foreground = "#d8dee8" -timeout = 2 - -[urgency_normal] -background = "#2f343f" -foreground = "#d8dee8" -timeout = 4 - -[urgency_critical] -background = "#2f343f" -foreground = "#d8dee8" -frame_color = "#bf616a" -timeout = 0 diff --git a/linux/i3/config/i3/config b/linux/i3/config/i3/config deleted file mode 100644 index a2b7df6..0000000 --- a/linux/i3/config/i3/config +++ /dev/null @@ -1,200 +0,0 @@ -# set modifier -set $super Mod4 -set $alt Mod1 - -# set font -font pango: Noto Sans 8 - -# Use Mouse+$super to drag floating windows to their wanted position -floating_modifier $super - -#autostart -#exec --no-startup-id hsetroot -center ~/.wallpaper.png -#exec --no-startup-id feh --bg-scale ~/.wallpaper.png -exec --no-startup-id wallpaper.sh -exec --no-startup-id compton --xrender-sync-fence --xrender-sync -b -exec --no-startup-id /usr/lib/gsd-xsettings -exec_always --no-startup-id gnome-power-manager -exec --no-startup-id gnome-flashback - -exec --no-startup-id "~/.config/umon/wallpaper.sh" - -# Tru to run autosetup of displays -exec --no-startup-id xrandr --auto -# Start umonitor daemon -#exec --no-startup-id umonitor --listen - - -# Start nm-applet for network things :) -exec --no-startup-id nm-applet -exec --no-startup-id blueman-applet -exec --no-startup-id i3-battery-popup -n -exec --no-startup-id deadd-notification-center - -# start a terminal -bindsym $super+Return exec urxvt -bindsym $super+Alt+Return exec urxvt --name floating -e noemutt - -# Shortcut to tt gui -bindsym $super+Shift+Return exec /home/jakob/.local/bin/tt-g - -# start dmenu (a program launcher) -bindsym $super+Shift+d exec i3-dmenu-desktop --dmenu="dmenu -i -fn 'Noto Sans:size=8'" -bindsym $super+d exec rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'Noto Sans 8' - -# change volume -bindsym XF86AudioRaiseVolume exec amixer -q set Master 2%+ -bindsym XF86AudioLowerVolume exec amixer -q set Master 2%- -bindsym XF86AudioMute exec amixer set Master toggle -bindsym XF86AudioMicMute exec amixer set Capture toggle - -# music control -#bindsym XF86AudioNext exec mpc next -#bindsym XF86AudioPrev exec mpc prev -#bindsym XF86AudioPlay exec mpc toggle -#bindsym XF86AudioStop exec mpc stop - -# kill focused window -bindsym $alt+F4 kill - -# change focus -bindsym $super+Left focus left -bindsym $super+Down focus down -bindsym $super+Up focus up -bindsym $super+Right focus right -focus_follows_mouse no - -# move focused window -bindsym $super+Shift+Left move left -bindsym $super+Shift+Down move down -bindsym $super+Shift+Up move up -bindsym $super+Shift+Right move right - -# split in horizontal orientation -bindsym $super+h split h - -# split in vertical orientation -bindsym $super+v split v - -# enter fullscreen mode for the focused container -bindsym $super+f fullscreen toggle - -# change container layout split -bindsym $super+s layout toggle split - -# toggle tiling / floating -bindsym $super+space floating toggle - -# change focus between tiling / floating windows -bindsym $super+Shift+space focus mode_toggle - -# switch to workspace -bindsym $alt+Control+Right workspace next -bindsym $alt+Control+Left workspace prev -bindsym $super+1 workspace 1 -bindsym $super+2 workspace 2 -bindsym $super+3 workspace 3 -bindsym $super+4 workspace 4 -bindsym $super+5 workspace 5 -bindsym $super+6 workspace 6 -bindsym $super+7 workspace 7 -bindsym $super+8 workspace 8 -bindsym $super+9 workspace 9 - -# move focused container to workspace -bindsym $super+Shift+1 move container to workspace 1 -bindsym $super+Shift+2 move container to workspace 2 -bindsym $super+Shift+3 move container to workspace 3 -bindsym $super+Shift+4 move container to workspace 4 -bindsym $super+Shift+5 move container to workspace 5 -bindsym $super+Shift+6 move container to workspace 6 -bindsym $super+Shift+7 move container to workspace 7 -bindsym $super+Shift+8 move container to workspace 8 -bindsym $super+Shift+9 move container to workspace 9 - -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $super+Shift+r restart - -# exit i3 -#bindsym $super+l exec i3lock -f -c 63bfb6 #-i /home/jakob/.lockscreen.png -bindsym $super+l exec dbus-send --type=method_call --dest=org.gnome.ScreenSaver /org/gnome/ScreenSaver org.gnome.ScreenSaver.Lock -bindsym $super+Shift+e exec "i3-nagbar -t warning -m 'Really, exit?' -b 'Yes' 'i3-msg exit'" -bindsym $super+p exec --no-startup-id /home/jakob/.config/rofi/bin/applet_powermenu - -# resize window (you can also use the mouse for that) -mode "resize" { - bindsym Left resize shrink width 5 px or 5 ppt - bindsym Down resize grow height 5 px or 5 ppt - bindsym Up resize shrink height 5 px or 5 ppt - bindsym Right resize grow width 5 px or 5 ppt - bindsym Return mode "default" -} -bindsym $super+r mode "resize" - -# Colors -set $blue #1b1e26 -set $yellow #f0d48b -set $grey #b0b287 -set $green #789073 - -# panel -bar { - colors { - #background #2f343f - statusline #2f343f - separator #4b5262 - - background $blue - #statusline $yellow - #separator $green - - # colour of border, background, and text - #focused_workspace #2f343f #bf616a #d8dee8 - #active_workspace #2f343f #2f343f #d8dee8 - #inactive_workspace #2f343f #2f343f #d8dee8 - #urgent_workspacei #2f343f #ebcb8b #2f343f - focused_workspace $blue $blue $yellow - active_workspace $blue $blue $yellow - inactive_workspace $blue $blue $green - urgent_workspacei $blue $blue $grey - } - status_command i3status -} - -# window rules, you can find the window class using xprop -for_window [class="^.*"] border pixel 2 -for_window [class=Viewnior|feh|Audacious|File-roller|Lxappearance|Lxtask|Pavucontrol|Arandr|Nitrogen|Nautilus|Eog|gnome-calculator|Thunar|gnome-system-monitor] floating enable -for_window [class=URxvt|Firefox|Geany|Evince|Soffice|libreoffice*|mpv|Ghb|Xfburn|Gimp*|Inkscape|Vlc|Lxappearance|Audacity|Nautilus|Eog|gnome-calculator|Thunar] focus -for_window [class=Xfburn|GParted|System-config-printer.py|Lxtask|Pavucontrol|Exo-helper*|Lxrandr|Arandr|Nitrogen] focus -for_window [ instance="floating" ] floating enable - -# colour of border, background, text, indicator, and child_border -#client.focused #bf616a #2f343f3 #d8dee8 #bf616a #d8dee8 -#client.focused_inactive #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.unfocused #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.urgent #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.placeholder #2f343f #2f343f #d8dee8 #2f343f #2f343f -#client.background #2f343f -client.focused #d1ae54 $blue $yellow $yellow #d1ae54 -client.focused_inactive #d1ae54 $blue $grey $yellow $yellow -client.unfocused $yellow $blue $grey $yellow $yellow -client.urgent $yellow $blue $yellow $yellow $yellow -client.placeholder $yellow $blue $yellow $yellow $yellow -client.background $blue - -# i3-gaps -gaps inner 7 - -# Keybinds for lenovo x1 carbon -bindsym XF86MonBrightnessUp exec --no-startup-id "/home/jakob/bin/brightness-popup.sh inc" -bindsym XF86MonBrightnessDown exec --no-startup-id "/home/jakob/bin/brightness-popup.sh dec" - -bindsym XF86Display exec --no-startup-id "arandr" -bindsym Print exec --no-startup-id "gnome-screenshot --interactive" -bindsym XF86Favorites exec --no-startup-id "kill -s USR1 $(pidof deadd-notification-center)" - -# Keybinds for switching keyboard layout -#bindsym $super+Shift+F1 exec setxkbmap -layout no; notify-send.py "Keyboard layout NO" -#bindsym $super+Shift+F2 exec setxkbmap -layout gb; notify-send.py "Keyboard layout EN" -bindsym $super+Shift+F1 exec "/home/jakob/bin/kblayout.sh no" -bindsym $super+Shift+F2 exec "/home/jakob/bin/kblayout.sh us" diff --git a/linux/i3/config/i3status/config b/linux/i3/config/i3status/config deleted file mode 100644 index b129807..0000000 --- a/linux/i3/config/i3status/config +++ /dev/null @@ -1,74 +0,0 @@ -general { - output_format = "i3bar" - colors = false - markup = pango - interval = 5 - color_good = '#2f343f' - color_degraded = '#ebcb8b' - color_bad = '#ba5e57' -} - -order += "load" -order += "cpu_temperature 0" -#order += "disk /" -#order += "disk /home" -#order += "ethernet enp1s0" -order += "wireless wlp0s20f3" -order += "volume master" -order += "battery 0" -order += "tztime local" - -load { - format = "<span background='#f59335'> %5min Load </span>" -} - -cpu_temperature 0 { - format = "<span background='#bf616a'> %degrees °C </span>" - path = "/sys/class/thermal/thermal_zone0/temp" -} - -disk "/" { - format = "<span background='#fec7cd'> %free Free </span>" -} - -disk "/home" { - format = "<span background='#a1d569'> %free Free </span>" -} - -ethernet enp1s0 { - format_up = "<span background='#88c0d0'> %ip </span>" - format_down = "<span background='#88c0d0'> Disconnected </span>" -} - -wireless wlp0s20f3 { - format_up = "<span background='#b48ead'> %essid </span>" - format_down = "<span background='#b48ead'> Disconnected </span>" -} - -volume master { - format = "<span background='#ebcb8b'> %volume </span>" - format_muted = "<span background='#ebcb8b'> Muted </span>" - device = "default" - mixer = "Master" - mixer_idx = 0 -} - -battery 0 { - last_full_capacity = true - format = "<span background='#a3be8c'> %status %percentage </span>" - format_down = "No Battery" - status_chr = "Charging" - status_bat = "Battery" - status_unk = "Unknown" - status_full = "Charged" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = 10 - #on_click 1 = "exec --no-startup-id ~/.config/rofi/bin/applet_battery" -} - -tztime local { - #format = "<span background='#81a1c1'> %time </span>" - #format_time = " %a %-d %b %H:%M" - format = "<span background='#81a1c1'> %a %-d %b %H:%M </span>" -} - diff --git a/linux/i3/urxvt/ext/clipboard b/linux/i3/urxvt/ext/clipboard deleted file mode 100755 index 05e1601..0000000 --- a/linux/i3/urxvt/ext/clipboard +++ /dev/null @@ -1,115 +0,0 @@ -#! perl -w -# Author: Bert Muennich -# Website: http://www.github.com/muennich/urxvt-perls -# License: GPLv2 - -# Use keyboard shortcuts to copy the selection to the clipboard and to paste -# the clipboard contents (optionally escaping all special characters). -# Requires xsel to be installed! - -# Usage: put the following lines in your .Xdefaults/.Xresources: -# URxvt.perl-ext-common: ...,clipboard -# URxvt.keysym.M-c: perl:clipboard:copy -# URxvt.keysym.M-v: perl:clipboard:paste -# URxvt.keysym.M-C-v: perl:clipboard:paste_escaped - -# Options: -# URxvt.clipboard.autocopy: If true, PRIMARY overwrites clipboard - -# You can also overwrite the system commands to use for copying/pasting. -# The default ones are: -# URxvt.clipboard.copycmd: xsel -ib -# URxvt.clipboard.pastecmd: xsel -ob -# If you prefer xclip, then put these lines in your .Xdefaults/.Xresources: -# URxvt.clipboard.copycmd: xclip -i -selection clipboard -# URxvt.clipboard.pastecmd: xclip -o -selection clipboard -# On Mac OS X, put these lines in your .Xdefaults/.Xresources: -# URxvt.clipboard.copycmd: pbcopy -# URxvt.clipboard.pastecmd: pbpaste - -# The use of the functions should be self-explanatory! - -use strict; - -sub on_start { - my ($self) = @_; - - $self->{copy_cmd} = $self->x_resource('clipboard.copycmd') || 'xsel -ib'; - $self->{paste_cmd} = $self->x_resource('clipboard.pastecmd') || 'xsel -ob'; - - if ($self->x_resource('clipboard.autocopy') eq 'true') { - $self->enable(sel_grab => \&sel_grab); - } - - () -} - -sub copy { - my ($self) = @_; - - if (open(CLIPBOARD, "| $self->{copy_cmd}")) { - my $sel = $self->selection(); - utf8::encode($sel); - print CLIPBOARD $sel; - close(CLIPBOARD); - } else { - print STDERR "error running '$self->{copy_cmd}': $!\n"; - } - - () -} - -sub paste { - my ($self) = @_; - - my $str = `$self->{paste_cmd}`; - if ($? == 0) { - $self->tt_paste($str); - } else { - print STDERR "error running '$self->{paste_cmd}': $!\n"; - } - - () -} - -sub paste_escaped { - my ($self) = @_; - - my $str = `$self->{paste_cmd}`; - if ($? == 0) { - $str =~ s/([!#\$%&\*\(\) ='"\\\|\[\]`~,<>\?])/\\\1/g; - $self->tt_paste($str); - } else { - print STDERR "error running '$self->{paste_cmd}': $!\n"; - } - - () -} - -sub on_action { - my ($self, $action) = @_; - - on_user_command($self, "clipboard:" . $action); -} - -sub on_user_command { - my ($self, $cmd) = @_; - - if ($cmd eq "clipboard:copy") { - $self->copy; - } elsif ($cmd eq "clipboard:paste") { - $self->paste; - } elsif ($cmd eq "clipboard:paste_escaped") { - $self->paste_escaped; - } - - () -} - -sub sel_grab { - my ($self) = @_; - - $self->copy; - - () -} diff --git a/linux/i3/urxvt/ext/keyboard-select b/linux/i3/urxvt/ext/keyboard-select deleted file mode 100755 index 78d4a7f..0000000 --- a/linux/i3/urxvt/ext/keyboard-select +++ /dev/null @@ -1,597 +0,0 @@ -#! perl -w -# Author: Bert Muennich -# Website: http://www.github.com/muennich/urxvt-perls -# License: GPLv2 - -# Use keyboard shortcuts to select and copy text. - -# Usage: put the following lines in your .Xdefaults/.Xresources: -# URxvt.perl-ext-common: ...,keyboard-select -# URxvt.keysym.M-Escape: perl:keyboard-select:activate -# The following line overwrites the default Meta-s binding and allows to -# activate keyboard-select directly in backward search mode: -# URxvt.keysym.M-s: perl:keyboard-select:search - -# Use Meta-Escape to activate selection mode, then use the following keys: -# h/j/k/l: Move cursor left/down/up/right (also with arrow keys) -# g/G/0/^/$/H/M/L/f/F/;/,/w/W/b/B/e/E: More vi-like cursor movement keys -# '/'/?: Start forward/backward search -# n/N: Repeat last search, N: in reverse direction -# Ctrl-f/b: Scroll down/up one screen -# Ctrl-d/u: Scroll down/up half a screen -# v/V/Ctrl-v: Toggle normal/linewise/blockwise selection -# y/Return: Copy selection to primary buffer, Return: quit afterwards -# Y: Copy selected lines to primary buffer or cursor line and quit -# q/Escape: Quit keyboard selection mode - - -use strict; - -sub on_start{ - my ($self) = @_; - - $self->{patterns}{'w'} = qr/\w[^\w\s]|\W\w|\s\S/; - $self->{patterns}{'W'} = qr/\s\S/; - $self->{patterns}{'b'} = qr/.*(?:\w[^\w\s]|\W\w|\s\S)/; - $self->{patterns}{'B'} = qr/.*\s\S/; - $self->{patterns}{'e'} = qr/[^\w\s](?=\w)|\w(?=\W)|\S(?=\s|$)/; - $self->{patterns}{'E'} = qr/\S(?=\s|$)/; - - () -} - - -sub on_action { - my ($self, $action) = @_; - - on_user_command($self, "keyboard-select:" . $action); -} - - -sub on_user_command { - my ($self, $cmd) = @_; - - if (not $self->{active}) { - if ($cmd eq 'keyboard-select:activate') { - activate($self); - } elsif ($cmd eq 'keyboard-select:search') { - activate($self, 1); - } - } - - () -} - - -sub key_press { - my ($self, $event, $keysym, $char) = @_; - my $key = chr($keysym); - - if (lc($key) eq 'c' && $event->{state} & urxvt::ControlMask) { - deactivate($self); - } elsif ($self->{search}) { - if ($keysym == 0xff1b) { - if ($self->{search_mode}) { - deactivate($self); - } else { - $self->{search} = ''; - status_area($self); - } - } elsif ($keysym == 0xff08) { - $self->{search} = substr($self->{search}, 0, -1); - if (not $self->{search} and $self->{search_mode}) { - deactivate($self); - } else { - status_area($self); - } - } elsif ($keysym == 0xff0d || - (lc($key) eq 'm' && $event->{state} & urxvt::ControlMask)) { - my $txt = substr($self->{search}, 1); - if ($txt) { - $self->{pattern} = ($txt =~ m/[[:upper:]]/) ? qr/\Q$txt\E/ : - qr/\Q$txt\E/i; - } elsif ($self->{pattern}) { - delete $self->{pattern}; - } - $self->{search} = ''; - $self->screen_cur($self->{srhcr}, $self->{srhcc}); - if (not find_next($self)) { - if ($self->{search_mode}) { - deactivate($self); - } else { - status_area($self); - } - } - } elsif (length($char) > 0) { - $self->{search} .= $self->locale_decode($char); - my $txt = substr($self->{search}, 1); - if ($txt) { - $self->{pattern} = ($txt =~ m/[[:upper:]]/) ? qr/\Q$txt\E/ : - qr/\Q$txt\E/i; - } elsif ($self->{pattern}) { - delete $self->{pattern}; - } - $self->screen_cur($self->{srhcr}, $self->{srhcc}); - find_next($self); - status_area($self); - } - } elsif ($self->{move_to}) { - if ($keysym == 0xff1b) { - $self->{move_to} = 0; - status_area($self); - } elsif (length($char) > 0) { - $self->{move_to} = 0; - $self->{patterns}{'f-1'} = qr/^.*\Q$key\E/; - $self->{patterns}{'f+1'} = qr/^.+?\Q$key\E/; - move_to($self, ';'); - status_area($self); - } - } elsif ($keysym == 0xff1b || lc($key) eq 'q') { - deactivate($self); - } elsif (lc($key) eq 'y' || $keysym == 0xff0d || - (lc($key) eq 'm' && $event->{state} & urxvt::ControlMask)) { - my $quit = 0; - if ($key eq 'Y' && $self->{select} ne 'l') { - $quit = !$self->{select}; - toggle_select($self, 'l'); - } - if ($self->{select}) { - my ($br, $bc, $er, $ec) = calc_span($self); - $ec = $self->line($er)->l if $self->{select} eq 'l'; - $self->selection_beg($br, $bc); - $self->selection_end($er, $ec); - $self->selection_make($event->{time}, $self->{select} eq 'b'); - if (lc($key) eq 'y') { - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - $self->{select} = ''; - status_area($self); - $self->want_refresh(); - } else { - $quit = 1; - } - } - if ($quit) { - deactivate($self); - } - } elsif ($key eq 'V') { - toggle_select($self, 'l'); - } elsif ($key eq 'v') { - if ($event->{state} & urxvt::ControlMask) { - toggle_select($self, 'b'); - } else { - toggle_select($self, 'n'); - } - } elsif ($key eq 'k' || $keysym == 0xff52) { - move_cursor($self, 'k'); - } elsif ($key eq 'j' || $keysym == 0xff54) { - move_cursor($self, 'j'); - } elsif ($key eq 'h' || $keysym == 0xff51) { - move_cursor($self, 'h'); - } elsif ($key eq 'l' || $keysym == 0xff53) { - move_cursor($self, 'l'); - } elsif ($keysym == 0xff57) { - move_cursor($self, '$'); - } elsif ($keysym == 0xff50) { - move_cursor($self, '^'); - } elsif ('gG0^$HML' =~ m/\Q$key\E/ || - ('fbdu' =~ m/\Q$key\E/ && $event->{state} & urxvt::ControlMask)) { - move_cursor($self, $key); - } elsif (lc($key) eq 'f') { - $self->{move_to} = 1; - $self->{move_dir} = $key eq 'F' ? -1 : 1; - status_area($self, $key); - } elsif (';,wWbBeE' =~ m/\Q$key\E/) { - move_to($self, $key); - } elsif ($key eq '/' || $key eq '?') { - $self->{search} = $key; - $self->{search_dir} = $key eq '?' ? -1 : 1; - ($self->{srhcr}, $self->{srhcc}) = $self->screen_cur(); - status_area($self); - } elsif (lc($key) eq 'n') { - find_next($self, $self->{search_dir} * ($key eq 'N' ? -1 : 1)); - } - - return 1; -} - - -sub move_cursor { - my ($self, $key) = @_; - my ($cr, $cc) = $self->screen_cur(); - my $line = $self->line($cr); - - if ($key eq 'k' && $line->beg > $self->top_row) { - $cr = $line->beg - 1; - } elsif ($key eq 'j' && $line->end < $self->nrow - 1) { - $cr = $line->end + 1; - } elsif ($key eq 'h' && $self->{offset} > 0) { - $self->{offset} = $line->offset_of($cr, $cc) - 1; - $self->{dollar} = 0; - } elsif ($key eq 'l' && $self->{offset} < $line->l - 1) { - ++$self->{offset}; - } elsif ($key eq 'f' || $key eq 'd') { - my $vs = $self->view_start() + - ($key eq 'd' ? $self->nrow / 2 : $self->nrow - 1); - $vs = 0 if $vs > 0; - $cr += $vs - $self->view_start($vs); - } elsif ($key eq 'b' || $key eq 'u') { - my $vs = $self->view_start() - - ($key eq 'u' ? $self->nrow / 2 : $self->nrow - 1); - $vs = $self->top_row if $vs < $self->top_row; - $cr += $vs - $self->view_start($vs); - } elsif ($key eq 'g') { - ($cr, $self->{offset}) = ($self->top_row, 0); - $self->{dollar} = 0; - } elsif ($key eq 'G') { - ($cr, $self->{offset}) = ($self->nrow - 1, 0); - $self->{dollar} = 0; - } elsif ($key eq '0') { - $self->{offset} = 0; - $self->{dollar} = 0; - } elsif ($key eq '^') { - my $ltxt = $self->special_decode($line->t); - while ($ltxt =~ s/^( *)\t/$1 . " " x (8 - length($1) % 8)/e) {} - $self->{offset} = $ltxt =~ m/^ +/ ? $+[0] : 0; - $self->{dollar} = 0; - } elsif ($key eq '$') { - my $co = $line->offset_of($cr, $cc); - $self->{dollar} = $co + 1; - $self->{offset} = $line->l - 1; - } elsif ($key eq 'H') { - $cr = $self->view_start(); - } elsif ($key eq 'M') { - $cr = $self->view_start() + $self->nrow / 2; - } elsif ($key eq 'L') { - $cr = $self->view_start() + $self->nrow - 1; - } - - $line = $self->line($cr); - $cc = $self->{dollar} || $self->{offset} >= $line->l ? $line->l - 1 : - $self->{offset}; - $self->screen_cur($line->coord_of($cc)); - - status_area($self); - $self->want_refresh(); - - () -} - - -sub move_to { - my ($self, $key) = @_; - my ($cr, $cc) = $self->screen_cur(); - my $line = $self->line($cr); - my $offset = $self->{offset}; - my ($dir, $pattern); - my ($wrap, $found) = (0, 0); - - if ($key eq ';' || $key eq ',') { - $dir = $self->{move_dir} * ($key eq ',' ? -1 : 1); - $pattern = $self->{patterns}{sprintf('f%+d', $dir)}; - return if not $pattern; - } else { - if (lc($key) eq 'b') { - $dir = -1; - } else { - $dir = 1; - ++$offset if lc($key) eq 'e'; - } - $pattern = $self->{patterns}{$key}; - $wrap = 1; - } - - if ($dir > 0) { - NEXTDOWN: my $text = substr($line->t, $offset); - if ($text =~ m/$pattern/) { - $offset += $+[0] - 1; - $found = 1; - } elsif ($wrap && $line->end + 1 < $self->nrow) { - $cr = $line->end + 1; - $line = $self->line($cr); - $offset = 0; - if (lc($key) eq 'e') { - goto NEXTDOWN; - } else { - $found = 1; - } - } - } elsif ($dir < 0) { - NEXTUP: my $text = substr($line->t, 0, $offset); - if ($text =~ m/$pattern/) { - $offset += $+[0] - length($text) - 1; - $found = 1; - } elsif ($wrap) { - if ($offset > 0) { - $offset = 0; - $found = 1; - } elsif ($line->beg > $self->top_row) { - $cr = $line->beg - 1; - $line = $self->line($cr); - $offset = $line->l; - goto NEXTUP; - } - } - } - - if ($found) { - $self->{dollar} = 0; - $self->{offset} = $offset; - $self->screen_cur($line->coord_of($offset)); - $self->want_refresh(); - } - - () -} - - -sub find_next { - my ($self, $dir) = @_; - - return if not $self->{pattern}; - $dir = $self->{search_dir} if not $dir; - - my ($cr, $cc) = $self->screen_cur(); - my $line = $self->line($cr); - my $offset = $line->offset_of($cr, $cc); - my $text; - my $found = 0; - - ++$offset if $dir > 0; - - while (not $found) { - if ($dir > 0) { - $text = substr($line->t, $offset); - if ($text =~ m/$self->{pattern}/) { - $found = 1; - $offset += $-[0]; - } else { - last if $line->end >= $self->nrow; - $line = $self->line($line->end + 1); - $offset = 0; - } - } else { - $text = substr($line->t, 0, $offset); - if ($text =~ m/$self->{pattern}/) { - $found = 1; - $offset = $-[0] while $text =~ m/$self->{pattern}/g; - } else { - last if $line->beg <= $self->top_row; - $line = $self->line($line->beg - 1); - $offset = $line->l; - } - } - } - - if ($found) { - $self->{dollar} = 0; - $self->{offset} = $offset; - $self->screen_cur($line->coord_of($offset)); - status_area($self); - $self->want_refresh(); - } - - return $found; -} - - -sub tt_write { - return 1; -} - - -sub refresh { - my ($self) = @_; - my ($cr, $cc) = $self->screen_cur(); - - # scroll the current cursor position into visible area - if ($cr < $self->view_start()) { - $self->view_start($cr); - } elsif ($cr >= $self->view_start() + $self->nrow) { - $self->view_start($cr - $self->nrow + 1); - } - - if ($self->{select}) { - my ($hl, $reverse_cursor); - my ($br, $bc, $er, $ec) = calc_span($self); - - if ($self->x_resource('highlightColor')) { - $hl = urxvt::RS_Sel; - $reverse_cursor = 0; - } else { - $hl = urxvt::RS_RVid; - $reverse_cursor = $self->{select} ne 'l'; - } - if ($self->{select} eq 'b') { - my $co = $self->line($cr)->offset_of($cr, $cc); - my $dollar = $self->{dollar} && $co >= $self->{dollar} - 1; - - my $r = $br; - while ($r <= $er) { - my $line = $self->line($r); - if ($bc < $line->l) { - $ec = $line->l if $dollar; - my ($br, $bc) = $line->coord_of($bc); - my ($er, $ec) = $line->coord_of($ec <= $line->l ? $ec : $line->l); - $self->scr_xor_span($br, $bc, $er, $ec, $hl); - } elsif ($r == $cr) { - $reverse_cursor = 0; - } - $r = $line->end + 1; - } - } else { - $self->scr_xor_span($br, $bc, $er, $ec, $hl); - } - - if ($reverse_cursor) { - # make the cursor visible again - $self->scr_xor_span($cr, $cc, $cr, $cc + 1, $hl); - } - } - - () -} - - -sub activate { - my ($self, $search) = @_; - - $self->{active} = 1; - - $self->{select} = ''; - $self->{dollar} = 0; - $self->{move_to} = 0; - - if ($search) { - $self->{search} = '?'; - $self->{search_dir} = -1; - $self->{search_mode} = 1; - } else { - $self->{search} = ''; - $self->{search_mode} = 0; - } - - ($self->{oldcr}, $self->{oldcc}) = $self->screen_cur(); - ($self->{srhcr}, $self->{srhcc}) = $self->screen_cur(); - $self->{old_view_start} = $self->view_start(); - $self->{old_pty_ev_events} = $self->pty_ev_events(urxvt::EV_NONE); - - my $line = $self->line($self->{oldcr}); - $self->{offset} = $line->offset_of($self->{oldcr}, $self->{oldcc}); - - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - - $self->enable( - key_press => \&key_press, - refresh_begin => \&refresh, - refresh_end => \&refresh, - tt_write => \&tt_write, - ); - - if ($self->{offset} >= $line->l) { - $self->{offset} = $line->l > 0 ? $line->l - 1 : 0; - $self->screen_cur($line->coord_of($self->{offset})); - $self->want_refresh(); - } - - $self->{overlay_len} = 0; - status_area($self); - - () -} - - -sub deactivate { - my ($self) = @_; - - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - - delete $self->{overlay} if $self->{overlay}; - - $self->disable("key_press", "refresh_begin", "refresh_end", "tt_write"); - $self->screen_cur($self->{oldcr}, $self->{oldcc}); - $self->view_start($self->{old_view_start}); - $self->pty_ev_events($self->{old_pty_ev_events}); - - $self->want_refresh(); - - $self->{active} = 0; - - () -} - - -sub status_area { - my ($self, $extra) = @_; - my ($stat, $stat_len); - - if ($self->{search}) { - $stat_len = $self->ncol; - $stat = $self->{search} . ' ' x ($stat_len - length($self->{search})); - } else { - if ($self->{select}) { - $stat = "-V" . ($self->{select} ne 'n' ? uc($self->{select}) : "") . "- "; - } - - if ($self->top_row == 0) { - $stat .= "All"; - } elsif ($self->view_start() == $self->top_row) { - $stat .= "Top"; - } elsif ($self->view_start() == 0) { - $stat .= "Bot"; - } else { - $stat .= sprintf("%2d%%", - ($self->top_row - $self->view_start) * 100 / $self->top_row); - } - - $stat = "$extra $stat" if $extra; - $stat_len = length($stat); - } - - if (!$self->{overlay} || $self->{overlay_len} != $stat_len) { - delete $self->{overlay} if $self->{overlay}; - $self->{overlay} = $self->overlay(-1, -1, $stat_len, 1, - urxvt::OVERLAY_RSTYLE, 0); - $self->{overlay_len} = $stat_len; - } - - $self->{overlay}->set(0, 0, $self->special_encode($stat)); - $self->{overlay}->show(); - - () -} - - -sub toggle_select { - my ($self, $mode) = @_; - - if ($self->{select} eq $mode) { - $self->{select} = ''; - } else { - if (not $self->{select}) { - ($self->{ar}, $self->{ac}) = $self->screen_cur(); - } - $self->{select} = $mode; - } - - status_area($self); - $self->want_refresh(); - - () -} - - -sub calc_span { - my ($self) = @_; - my ($cr, $cc) = $self->screen_cur(); - my ($br, $bc, $er, $ec); - - if ($self->{select} eq 'b') { - $br = $self->line($cr)->beg; - $bc = $self->line($cr)->offset_of($cr, $cc); - $er = $self->line($self->{ar})->beg; - $ec = $self->line($self->{ar})->offset_of($self->{ar}, $self->{ac}); - ($br, $er) = ($er, $br) if $br > $er; - ($bc, $ec) = ($ec, $bc) if $bc > $ec; - } else { - if ($cr < $self->{ar}) { - ($br, $bc, $er, $ec) = ($cr, $cc, $self->{ar}, $self->{ac}); - } elsif ($cr > $self->{ar}) { - ($br, $bc, $er, $ec) = ($self->{ar}, $self->{ac}, $cr, $cc); - } else { - ($br, $er) = ($cr, $cr); - ($bc, $ec) = $cc < $self->{ac} ? ($cc, $self->{ac}) : ($self->{ac}, $cc); - } - } - - if ($self->{select} eq 'l') { - ($br, $er) = ($self->line($br)->beg, $self->line($er)->end); - ($bc, $ec) = (0, $self->ncol); - } else { - ++$ec; - } - - return ($br, $bc, $er, $ec); -} diff --git a/linux/i3/urxvt/ext/resize-font b/linux/i3/urxvt/ext/resize-font deleted file mode 100644 index b6b8e4f..0000000 --- a/linux/i3/urxvt/ext/resize-font +++ /dev/null @@ -1,191 +0,0 @@ -# vim:ft=perl:fenc=utf-8:tw=80 -# Copyright (c) 2009-, Simon Lundström <simmel@soy.se> -# Copyright (c) 2014 Maarten de Vries <maarten@de-vri.es> -# -# Permission to use, copy, modify, and/or distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - - -my @fonts = ( - {'name' => 'font', 'code' => 710}, - {'name' => 'boldFont', 'code' => 711}, - {'name' => 'italicFont', 'code' => 712}, - {'name' => 'boldItalicFont', 'code' => 713}, -); - -my @fixed = qw(4x6 5x7 5x8 6x9 6x10 6x12 6x13 7x13 7x14 8x13 8x16 9x15 9x18 - 10x20 12x24); -my $step; - -sub on_start { - my ($self) = @_; - - foreach (@fonts) { - $_->{'default'} = $self->resource($_->{'name'}); - } - - $step = $self->x_resource("%.step") || 2; -} - -sub on_init { - my ($self) = @_; - my $commands = { - "smaller" => "C-minus", - "bigger" => "C-plus", - "reset" => "C-equal", - "show" => "C-question", - }; - bind_hotkeys($self, $commands); - - () -} - -sub bind_hotkeys { - my ($self, $commands) = @_; - - for (keys %$commands) { - my $hotkey = $$commands{$_}; - my $hotkey_bound = $self->{'term'}->x_resource("keysym.$hotkey"); - if (!defined($hotkey_bound) ) { - # Support old-style key bindings - if ($self->x_resource("%.$_")) { - $hotkey = $self->x_resource("%.$_"); - } - - # FIXME If we're bound to a keysym, don't bind the default. - $self->bind_action($hotkey, "%:$_") or - warn "unable to register '$hotkey' as hotkey for $_"; - } - else { - if ($hotkey_bound !~ /^resize-font:/) { - warn "Hotkey $$commands{$_} already bound to $hotkey_bound, not ". - "binding to resize-font:$_ by default."; - } - } - } -} - -sub on_action { - my ($self, $string) = @_; - - if ($string eq "bigger") { - foreach (@fonts) { - next if not defined($_->{'default'}); - update_font_size($self, $_, +$step); - } - } - elsif ($string eq "smaller") { - foreach (@fonts) { - next if not defined($_->{'default'}); - update_font_size($self, $_, -$step); - } - } - elsif ($string eq "reset") { - foreach (@fonts) { - next if not defined($_->{'default'}); - set_font($self, $_, $_->{'default'}); - } - } - elsif ($string eq "show") { - - my $term = $self->{'term'}; - $term->{'resize-font'}{'overlay'} = { - ov => $term->overlay_simple(0, -1, format_font_info($self)), - to => urxvt::timer - ->new - ->start(urxvt::NOW + 1) - ->cb(sub { - delete $term->{'resize-font'}{'overlay'}; - }), - }; - } - - () -} - -sub get_font { - my ($self, $name) = @_; - return $self->resource($name); -} - -sub set_font { - my ($self, $font, $new) = @_; - $self->cmd_parse(sprintf("\33]%d;%s\007", $font->{'code'}, $new)); -} - -sub round { - return sprintf("%.0f", @_); -} - -sub atleast { - my ($min, $val) = @_; - if (0 < abs $val && abs $val < $min){ - return $val / abs($val) - } - return $val; -} - -sub update_font_size { - my ($self, $font, $delta) = @_; - my $regex = qr"(?<=size=)(\d+(?:\.\d+)?)"; - my $current = get_font($self, $font->{'name'}); - - my ($index) = grep { $fixed[$_] eq $current } 0..$#fixed; - if ($index or $index eq 0) { - my $inc = $delta / abs($delta); - $index += $inc; - if ($index < 0) { $index = 0; } - if ($index > $#fixed) { $index = $#fixed; } - $current = $fixed[$index]; - } - elsif ($current =~ /^-/) { - my @font = split(/-/, $current); - # https://en.wikipedia.org/wiki/X_logical_font_description - #Pixel size - if ($font[7] gt 0) { - $delta = atleast(1, $delta); - my $newsize = round($font[7]+$delta); - $font[7] = $newsize if ($newsize > 0) - } - #Point size - elsif ($font[8] gt 0) { - $delta = atleast(1, $delta*10); - my $newsize = round($font[8]+$delta); - $font[8] = $newsize if ($newsize > 0) - } - $current = join('-', @font); - } - else { - my $newsize = $1+$delta if ($current =~ /$regex/); - $current =~ s/$regex/$newsize/ge if ($newsize > 0); - } - set_font($self, $font, $current); -} - -sub format_font_info { - my ($self) = @_; - - my $width = 0; - foreach (@fonts) { - my $length = length($_->{'name'}); - $width = $length > $width ? $length : $width; - } - ++$width; - - my $info = ''; - foreach (@fonts) { - $info .= sprintf("%-${width}s %s\n", $_->{'name'} . ':', - get_font($self, $_->{'name'})); - } - - return $info; -} diff --git a/linux/i3/urxvt/ext/url-select b/linux/i3/urxvt/ext/url-select deleted file mode 100755 index 34637bb..0000000 --- a/linux/i3/urxvt/ext/url-select +++ /dev/null @@ -1,408 +0,0 @@ -#! perl -w -# Author: Bert Muennich -# Website: http://www.github.com/muennich/urxvt-perls -# Based on: http://www.jukie.net/~bart/blog/urxvt-url-yank -# License: GPLv2 - -# Use keyboard shortcuts to select URLs. -# This should be used as a replacement for the default matcher extension, -# it also makes URLs clickable with the middle mouse button. - -# Usage: put the following lines in your .Xdefaults/.Xresources: -# URxvt.perl-ext-common: ...,url-select -# URxvt.keysym.M-u: perl:url-select:select_next - -# Use Meta-u to activate URL selection mode, then use the following keys: -# j/k: Select next downward/upward URL (also with arrow keys) -# g/G: Select first/last URL (also with home/end key) -# o/Return: Open selected URL in browser, Return: deactivate afterwards -# y: Copy (yank) selected URL and deactivate selection mode -# q/Escape: Deactivate URL selection mode - -# Options: -# URxvt.url-select.autocopy: If true, selected URLs are copied to PRIMARY -# URvxt.url-select.button: Mouse button to click-open URLs (default: 2) -# URxvt.url-select.launcher: Browser/command to open selected URL with -# URxvt.url-select.underline: If set to true, all URLs get underlined - -use strict; - -# The custom rendition bit to use for marking the cell as being underlined -# by us so we can unset it again after a line has changed. -use constant UNDERLINED => 1<<3; # arbitrarily chosen in hope of no collision - -sub on_start { - my ($self) = @_; - - # read resource settings - if ($self->x_resource('url-select.launcher')) { - @{$self->{browser}} = split /\s+/, $self->x_resource('url-select.launcher'); - } else { - @{$self->{browser}} = ('x-www-browser'); - } - if ($self->x_resource('url-select.underline') eq 'true') { - $self->enable(line_update => \&line_update); - } - if ($self->x_resource('url-select.autocopy') eq 'true') { - $self->{autocopy} = 1; - } - - $self->{state} = 0; - - for my $mod (split '', $self->x_resource("url-select.button") || - $self->x_resource("matcher.button") || 2) { - if ($mod =~ /^\d+$/) { - $self->{button} = $mod; - } elsif ($mod eq "C") { - $self->{state} |= urxvt::ControlMask; - } elsif ($mod eq "S") { - $self->{state} |= urxvt::ShiftMask; - } elsif ($mod eq "M") { - $self->{state} |= $self->ModMetaMask; - } elsif ($mod ne "-" && $mod ne " ") { - warn("invalid button/modifier in $self->{_name}<$self->{argv}[0]>: $mod\n"); - } - } - - if ($self->x_resource('matcher.pattern')) { - @{$self->{pattern}} = ($self->x_resource('matcher.pattern')); - } elsif ($self->x_resource('matcher.pattern.0')) { - my $current = 0; - - while (defined (my $res = $self->x_resource("matcher.pattern.$current"))) { - $res = $self->locale_decode($res); - utf8::encode $res; - push @{$self->{pattern}}, qr($res)x; - $current++; - } - } else { - @{$self->{pattern}} = qr{ - (?:https?://|ftp://|news://|mailto:|file://|\bwww\.) - [\w\-\@;\/?:&=%\$.+!*\x27,~#]* - ( - \([\w\-\@;\/?:&=%\$.+!*\x27,~#]*\) # Allow a pair of matched parentheses - | # - [\w\-\@;\/?:&=%\$+*~] # exclude some trailing characters (heuristic) - )+ - }x; - } - - () -} - - -sub line_update { - my ($self, $row) = @_; - - my $line = $self->line($row); - my $text = $line->t; - my $rend = $line->r; - - # clear all underlines that were set by us - for (@$rend) { - if (urxvt::GET_CUSTOM($_) & UNDERLINED) { - $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) & ~UNDERLINED) & - ~urxvt::RS_Uline; - } - } - - for my $pattern (@{$self->{pattern}}) { - while ($text =~ /$pattern/g) { - my $url = $&; - my ($beg, $end) = ($-[0], $+[0] - 1); - - for (@{$rend}[$beg .. $end]) { - unless ($_ & urxvt::RS_Uline) { - $_ = urxvt::SET_CUSTOM($_, urxvt::GET_CUSTOM($_) | UNDERLINED); - $_ |= urxvt::RS_Uline; - } - } - } - } - - $line->r($rend); - - () -} - -sub on_action { - my ($self, $action) = @_; - - on_user_command($self, "url-select:" . $action); -} - - -sub on_user_command { - my ($self, $cmd) = @_; - - if ($cmd eq 'url-select:select_next') { - if (not $self->{active}) { - activate($self); - } - select_next($self, -1); - } - - () -} - - -sub key_press { - my ($self, $event, $keysym) = @_; - my $char = chr($keysym); - - if ($keysym == 0xff1b || lc($char) eq 'q' || - (lc($char) eq 'c' && $event->{state} & urxvt::ControlMask)) { - deactivate($self); - } elsif ($keysym == 0xff0d || $char eq 'o' || - (lc($char) eq 'm' && $event->{state} & urxvt::ControlMask)) { - $self->exec_async(@{$self->{browser}}, ${$self->{found}[$self->{n}]}[4]); - deactivate($self) unless $char eq 'o'; - } elsif ($char eq 'y') { - my $found = $self->{found}[$self->{n}]; - $self->selection_beg(${$found}[0], ${$found}[1]); - $self->selection_end(${$found}[2], ${$found}[3]); - $self->selection_make($event->{time}); - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - deactivate($self); - } elsif ($char eq 'k' || $keysym == 0xff52 || $keysym == 0xff51) { - select_next($self, -1, $event); - } elsif ($char eq 'j' || $keysym == 0xff54 || $keysym == 0xff53) { - select_next($self, 1, $event); - } elsif ($char eq 'g' || $keysym == 0xff50) { - $self->{row} = $self->top_row - 1; - delete $self->{found}; - select_next($self, 1, $event); - } elsif ($char eq 'G' || $keysym == 0xff57) { - $self->{row} = $self->nrow; - delete $self->{found}; - select_next($self, -1, $event); - } - - return 1; -} - - -sub on_button_press { - my ($self, $event) = @_; - - my $mask = $self->ModLevel3Mask | $self->ModMetaMask | - urxvt::ShiftMask | urxvt::ControlMask; - - if ($event->{button} == $self->{button} && ($event->{state} & $mask) == $self->{state}) { - my $col = $event->{col}; - my $row = $event->{row}; - my $line = $self->line($row); - my $text = $line->t; - - for my $pattern (@{$self->{pattern}}) { - while ($text =~ /$pattern/g) { - my ($url, $beg, $end) = ($&, $-[0], $+[0]); - --$end if $url =~ s/["')]$//; - - if ($col >= $beg && $col <= $end) { - $self->{button_pressed} = 1; - $self->{button_col} = $col; - $self->{button_row} = $row; - $self->{button_url} = $url; - return 1; - } - } - } - } - - () -} - -sub on_button_release { - my ($self, $event) = @_; - - if ($self->{button_pressed} && $event->{button} == $self->{button}) { - my $col = $event->{col}; - my $row = $event->{row}; - - $self->{button_pressed} = 0; - - if ($col == $self->{button_col} && $row == $self->{button_row}) { - $self->exec_async(@{$self->{browser}}, $self->{button_url}); - return 1; - } - } - - () -} - - -sub select_next { - # $dir < 0: up, > 0: down - my ($self, $dir, $event) = @_; - my $row = $self->{row}; - - if (($dir < 0 && $self->{n} > 0) || - ($dir > 0 && $self->{n} < $#{ $self->{found} })) { - # another url on current line - $self->{n} += $dir; - hilight($self); - if ($self->{autocopy}) { - my $found = $self->{found}[$self->{n}]; - $self->selection_beg(${$found}[0], ${$found}[1]); - $self->selection_end(${$found}[2], ${$found}[3]); - $self->selection_make($event->{time}); - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - } - return; - } - - while (($dir < 0 && $row > $self->top_row) || - ($dir > 0 && $row < $self->nrow - 1)) { - my $line = $self->line($row); - $row = ($dir < 0 ? $line->beg : $line->end) + $dir; - $line = $self->line($row); - my $text = $line->t; - - for my $pattern (@{$self->{pattern}}) { - if ($text =~ /$pattern/g) { - delete $self->{found}; - - do { - my ($beg, $end) = ($-[0], $+[0]); - push @{$self->{found}}, [$line->coord_of($beg), - $line->coord_of($end), substr($text, $beg, $end - $beg)]; - } while ($text =~ /$pattern/g); - - $self->{row} = $row; - $self->{n} = $dir < 0 ? $#{$self->{found}} : 0; - hilight($self); - if ($self->{autocopy}) { - my $found = $self->{found}[$self->{n}]; - $self->selection_beg(${$found}[0], ${$found}[1]); - $self->selection_end(${$found}[2], ${$found}[3]); - $self->selection_make($event->{time}); - $self->selection_beg(1, 0); - $self->selection_end(1, 0); - } - return; - } - } - } - - deactivate($self) unless $self->{found}; - - () -} - - -sub hilight { - my ($self) = @_; - - if ($self->{found}) { - if ($self->{row} < $self->view_start() || - $self->{row} >= $self->view_start() + $self->nrow) { - # scroll selected url into visible area - my $top = $self->{row} - ($self->nrow >> 1); - $self->view_start($top < 0 ? $top : 0); - } - - status_area($self); - $self->want_refresh(); - } - - () -} - - -sub refresh { - my ($self) = @_; - - if ($self->{found}) { - if ($self->x_resource('highlightColor')) { - $self->scr_xor_span(@{$self->{found}[$self->{n}]}[0 .. 3], urxvt::RS_Sel); - } else { - $self->scr_xor_span(@{$self->{found}[$self->{n}]}[0 .. 3], urxvt::RS_RVid); - } - } - - () -} - - -sub status_area { - my ($self) = @_; - - my $row = $self->{row} < 0 ? - $self->{row} - $self->top_row : abs($self->top_row) + $self->{row}; - my $text = sprintf("%d,%d ", $row + 1, $self->{n} + 1); - - if ($self->top_row == 0) { - $text .= "All"; - } elsif ($self->view_start() == $self->top_row) { - $text .= "Top"; - } elsif ($self->view_start() == 0) { - $text .= "Bot"; - } else { - $text .= sprintf("%2d%", - ($self->top_row - $self->view_start) * 100 / $self->top_row); - } - - my $text_len = length($text); - - if ($self->{overlay_len} != $text_len) { - delete $self->{overlay} if $self->{overlay}; - $self->{overlay} = $self->overlay(-1, -1, $text_len, 1, - urxvt::OVERLAY_RSTYLE, 0); - $self->{overlay_len} = $text_len; - } - - $self->{overlay}->set(0, 0, $self->special_encode($text)); - $self->{overlay}->show(); - - () -} - - -sub tt_write { - return 1; -} - - -sub activate { - my ($self) = @_; - - $self->{active} = 1; - - $self->{row} = $self->view_start() + $self->nrow; - $self->{n} = 0; - $self->{overlay_len} = 0; - $self->{button_pressed} = 0; - - $self->{view_start} = $self->view_start(); - $self->{pty_ev_events} = $self->pty_ev_events(urxvt::EV_NONE); - - $self->enable( - key_press => \&key_press, - refresh_begin => \&refresh, - refresh_end => \&refresh, - tt_write => \&tt_write, - ); - - () -} - - -sub deactivate { - my ($self) = @_; - - $self->disable("key_press", "refresh_begin", "refresh_end", "tt_write"); - $self->view_start($self->{view_start}); - $self->pty_ev_events($self->{pty_ev_events}); - - delete $self->{overlay} if $self->{overlay}; - delete $self->{found} if $self->{found}; - - $self->want_refresh(); - - $self->{active} = 0; - - () -} diff --git a/linux/i3/urxvt/urxvt b/linux/i3/urxvt/urxvt deleted file mode 120000 index e98a3bb..0000000 --- a/linux/i3/urxvt/urxvt +++ /dev/null @@ -1 +0,0 @@ -/home/jakob/_code/dotfiles/Common/i3/urxvt
\ No newline at end of file diff --git a/linux/i3/xsettingsd b/linux/i3/xsettingsd deleted file mode 100755 index 8499496..0000000 --- a/linux/i3/xsettingsd +++ /dev/null @@ -1,4 +0,0 @@ -Xft/Hinting 1 -Xft/RGBA "rgb" -Xft/HintStyle "hintslight" -Xft/Antialias 1 diff --git a/linux/polybar/config.ini b/linux/polybar/config.ini deleted file mode 100644 index 4dff50c..0000000 --- a/linux/polybar/config.ini +++ /dev/null @@ -1,275 +0,0 @@ -;========================================================== -; -; -; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ -; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ -; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ -; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ -; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ -; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ -; -; -; To learn more about how to configure Polybar -; go to https://github.com/polybar/polybar -; -; The README contains a lot of information -; -;========================================================== - -[colors] -background = #282A2E -background-alt = #373B41 -foreground = #C5C8C6 -primary = #F0C674 -secondary = #8ABEB7 -alert = #A54242 -disabled = #707880 - -[bar/example] -width = 100% -height = 24pt -radius = 6 - -; dpi = 96 - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 3pt - -border-size = 4pt -border-color = #00000000 - -padding-left = 0 -padding-right = 1 - -module-margin = 1 - -separator = | -separator-foreground = ${colors.disabled} - -font-0 = monospace;2 - -modules-left = xworkspaces -modules-right = pulseaudio xkeyboard memory cpu wlan eth battery date - -cursor-click = pointer -cursor-scroll = ns-resize - -enable-ipc = true - -; tray-position = right - -; wm-restack = generic -; wm-restack = bspwm -; wm-restack = i3 - -; override-redirect = true - -[module/bspwm] -type = internal/bspwm - -; Only show workspaces defined on the same output as the bar -; NOTE: The bspwm and XRandR monitor names must match, which they do by default. -; But if you rename your bspwm monitors with bspc -n this option will no longer -; behave correctly. -; Default: true -pin-workspaces = true - -; Output mode flags after focused state label -; Default: false -inline-mode = false - -; Create click handler used to focus workspace -; Default: true -enable-click = false - -; Create scroll handlers used to cycle workspaces -; Default: true -enable-scroll = false - -; Set the scroll cycle direction -; Default: true -reverse-scroll = false - -; Use fuzzy (partial) matching on labels when assigning -; icons to workspaces -; Example: code;♚ will apply the icon to all workspaces -; containing 'code' in the label -; Default: false -fuzzy-match = true - -; Only scroll through occupied workspaces -; Default: false -; New in version 3.6.0 -occupied-scroll = true - -[module/xworkspaces] -type = internal/xworkspaces - -label-active = %name% -label-active-background = ${colors.background-alt} -label-active-underline= ${colors.primary} -label-active-padding = 1 - -label-occupied = %name% -label-occupied-padding = 1 - -label-urgent = %name% -label-urgent-background = ${colors.alert} -label-urgent-padding = 1 - -label-empty = %name% -label-empty-foreground = ${colors.disabled} -label-empty-padding = 1 - -[module/xwindow] -type = internal/xwindow -label = %title:0:60:...% - -[module/filesystem] -type = internal/fs -interval = 25 - -mount-0 = / - -label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%% - -label-unmounted = %mountpoint% not mounted -label-unmounted-foreground = ${colors.disabled} - -[module/pulseaudio] -type = internal/pulseaudio - -format-volume-prefix = "VOL " -format-volume-prefix-foreground = ${colors.primary} -format-volume = <label-volume> - -label-volume = %percentage%% - -label-muted = muted -label-muted-foreground = ${colors.disabled} - -[module/xkeyboard] -type = internal/xkeyboard -blacklist-0 = num lock - -label-layout = %layout% -label-layout-foreground = ${colors.primary} - -label-indicator-padding = 2 -label-indicator-margin = 1 -label-indicator-foreground = ${colors.background} -label-indicator-background = ${colors.secondary} - -[module/memory] -type = internal/memory -interval = 2 -format-prefix = "RAM " -format-prefix-foreground = ${colors.primary} -label = %percentage_used:2%% - -[module/cpu] -type = internal/cpu -interval = 2 -format-prefix = "CPU " -format-prefix-foreground = ${colors.primary} -label = %percentage:2%% - -[network-base] -type = internal/network -interval = 5 -format-connected = <label-connected> -format-disconnected = <label-disconnected> -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected - -[module/wlan] -inherit = network-base -interface-type = wireless -label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% - -[module/eth] -inherit = network-base -interface-type = wired -label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% - -[module/date] -type = internal/date -interval = 1 - -date = %H:%M -date-alt = %Y-%m-%d %H:%M:%S - -label = %date% -label-foreground = ${colors.primary} - -[module/battery] -type = internal/battery - -; This is useful in case the battery never reports 100% charge -; Default: 100 -full-at = 99 - -; format-low once this charge percentage is reached -; Default: 10 -; New in version 3.6.0 -low-at = 10 - -; Use the following command to list batteries and adapters: -; $ ls -1 /sys/class/power_supply/ -battery = BAT0 -adapter = ADP1 - -; If an inotify event haven't been reported in this many -; seconds, manually poll for new values. -; -; Needed as a fallback for systems that don't report events -; on sysfs/procfs. -; -; Disable polling by setting the interval to 0. -; -; Default: 5 -poll-interval = 5 - -label-charging = Charging %percentage%% - -[module/temperature] -type = internal/temperature - -; Seconds to sleep between updates -; Default: 1 -interval = 0.5 - -; Thermal zone to use -; To list all the zone types, run -; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done -; Default: 0 -thermal-zone = 0 - -; Select thermal zone by name -; The name has to match the contents of /sys/class/thermal/thermal_zone*/type -; for the desired thermal zone. -; New in version 3.7.0 -; Default: "" -zone-type = x86_pkg_temp - -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon2/temp1_input - -; Base temperature for where to start the ramp (in degrees celsius) -; Default: 0 -base-temperature = 20 - -; Threshold temperature to display warning label (in degrees celsius) -; Default: 80 -warn-temperature = 60 - -[settings] -screenchange-reload = true -pseudo-transparency = false - -; vim:ft=dosini diff --git a/linux/qtile/config/__pycache__/config_screens.cpython-312.pyc b/linux/qtile/config/__pycache__/config_screens.cpython-312.pyc Binary files differdeleted file mode 100644 index e588404..0000000 --- a/linux/qtile/config/__pycache__/config_screens.cpython-312.pyc +++ /dev/null diff --git a/linux/qtile/config/autostart.sh b/linux/qtile/config/autostart.sh deleted file mode 100755 index cf95bd1..0000000 --- a/linux/qtile/config/autostart.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -nm-applet & -echo "Starting blueman-applet" -blueman-applet & -echo "Starting udiskie" -udiskie & -echo "Starting fcitx5" -fcitx5 -d & -echo "Starting nextcloud" -nextcloud --background & diff --git a/linux/qtile/config/config.py.m4 b/linux/qtile/config/config.py.m4 deleted file mode 100644 index d32becd..0000000 --- a/linux/qtile/config/config.py.m4 +++ /dev/null @@ -1,117 +0,0 @@ -# Copyright (c) 2010 Aldo Cortesi -# Copyright (c) 2010, 2014 dequis -# Copyright (c) 2012 Randall Ma -# Copyright (c) 2012-2014 Tycho Andersen -# Copyright (c) 2012 Craig Barnes -# Copyright (c) 2013 horsik -# Copyright (c) 2013 Tao Sauvage -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - -import subprocess, os -from libqtile import bar, layout, qtile, hook, extension, widget -from libqtile.config import Click, Drag, Group, Key, Match, Screen -from libqtile.lazy import lazy -from libqtile.utils import guess_terminal, send_notification - -from qtile_extras.widget import UPowerWidget -from qtile_extras.resources import wallpapers -from libqtile.log_utils import logger - -os.environ["PATH"] += os.pathsep + os.path.expanduser('/var/lib/flatpak/exports/share') -os.environ["PATH"] += os.pathsep + os.path.expanduser('/var/lib/flatpak/exports/share/applications') - -mod = "mod4" -mod1 = "mod1" -terminal = guess_terminal() - -m4_include(`linux/qtile/config/keys.m4.py')m4_dnl - -# Add key bindings to switch VTs in Wayland. -# We can't check qtile.core.name in default config as it is loaded before qtile is started -# We therefore defer the check until the key binding is run by using .when(func=...) -for vt in range(1, 8): - keys.append( - Key( - ["control", "mod1"], - f"f{vt}", - lazy.core.change_vt(vt).when(func=lambda: qtile.core.name == "wayland"), - desc=f"Switch to VT{vt}", - ) - ) - -# Drag floating layouts. -mouse = [ - Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()), - Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), - Click([mod], "Button2", lazy.window.bring_to_front()), -] - -dgroups_key_binder = None -dgroups_app_rules = [] # type: list -follow_mouse_focus = True -bring_front_click = False -floats_kept_above = True -cursor_warp = False -auto_fullscreen = True -focus_on_window_activation = "smart" -reconfigure_screens = True - -m4_include(`linux/qtile/config/screen.m4.py')m4_dnl -m4_include(`linux/qtile/config/group.m4.py')m4_dnl -m4_include(`linux/qtile/config/layout.m4.py')m4_dnl - -# Drag floating layouts. -mouse = [ - Drag([mod], "Button1", lazy.window.set_position_floating(), start=lazy.window.get_position()), - Drag([mod], "Button3", lazy.window.set_size_floating(), start=lazy.window.get_size()), - Click([mod], "Button2", lazy.window.bring_to_front()), -] - -dgroups_key_binder = None -dgroups_app_rules = [] # type: list -follow_mouse_focus = True -bring_front_click = True -floats_kept_above = True -cursor_warp = True -auto_fullscreen = True -focus_on_window_activation = "smart" -reconfigure_screens = True - -# If things like steam games want to auto-minimize themselves when losing -# focus, should we respect this or not? -auto_minimize = True - -# When using the Wayland backend, this can be used to configure input devices. -wl_input_rules = None - -# XXX: Gasp! We're lying here. In fact, nobody really uses or cares about this -# string besides java UI toolkits; you can see several discussions on the -# mailing lists, GitHub issues, and other WM documentation that suggest setting -# this string if your java app doesn't work correctly. We may as well just lie -# and say that we're a working one by default. -# -# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in -# java that happens to be on java's whitelist. -wmname = "LG3D" - -@hook.subscribe.startup_once -def autostart(): - home = os.path.expanduser('~/.config/qtile/autostart.sh') - subprocess.Popen([home]) diff --git a/linux/qtile/config/group.m4.py b/linux/qtile/config/group.m4.py deleted file mode 100644 index 7132abc..0000000 --- a/linux/qtile/config/group.m4.py +++ /dev/null @@ -1,67 +0,0 @@ -groups = [ - Group(name="1"), - Group(name="2"), - Group(name="3"), - Group(name="4"), - Group(name="5"), - Group(name="6"), - Group(name="7"), - Group(name="8"), - Group(name="9"), -] - -group_screen_map = dict() - -def to_group(name: str): - def _inner(qtile): - g = qtile.groups_map[name] - if (sc := group_screen_map[name]) is not None: - if sc < num_monitors: - qtile.to_screen(sc) - g.toscreen() - return _inner - - -for g in groups: - group_screen_map[g.name] = None - keys.extend( - [ - Key( - [mod], - g.name, - lazy.function(to_group(g.name)), - desc="Switch to group {}".format(g.name), - ), - Key( - [mod, "shift"], - g.name, - lazy.window.togroup(g.name), - desc="move focused window to group {}".format(g.name) - ), - ] - ) - -@hook.subscribe.group_window_add -def group_window_add(group, window): - groups = qtile.get_groups() - global group_screen_map - group_screen_map[group.name] = groups[group.name]["screen"] - logger.warning(group_screen_map) - - -#@hook.subscribe.delgroup -#def group_deleted(group_name): -# send_notification("qtile", f"Group deleted: {group_name}") -# -#@hook.subscribe.setgroup -#def setgroup(): -# send_notification("qtile", "Group set") -# -# -#@hook.subscribe.changegroup -#def change_group(): -# send_notification("qtile", "Change group event") -# -#@hook.subscribe.addgroup -#def group_added(group_name): -# send_notification("qtile", f"New group added: {group_name}") diff --git a/linux/qtile/config/keys.m4.py b/linux/qtile/config/keys.m4.py deleted file mode 100644 index 77e4f9b..0000000 --- a/linux/qtile/config/keys.m4.py +++ /dev/null @@ -1,68 +0,0 @@ -keys = [ - # A list of available commands that can be bound to keys can be found - # at https://docs.qtile.org/en/latest/manual/config/lazy.html - # Switch between windows - Key([mod], "h", lazy.layout.left(), desc="Move focus to left"), - Key([mod], "l", lazy.layout.right(), desc="Move focus to right"), - Key([mod], "j", lazy.layout.down(), desc="Move focus down"), - Key([mod], "k", lazy.layout.up(), desc="Move focus up"), - # Move windows between left/right columns or move up/down in current stack. - # Moving out of range in Columns layout will create new column. - Key([mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"), - Key([mod, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"), - Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"), - Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), - # Grow windows. If current window is on the edge of screen and direction - # will be to screen edge - window would shrink. - Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), - Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"), - Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), - Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), - Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), - # Toggle between split and unsplit sides of stack. - # Split = all windows displayed - # Unsplit = 1 window displayed, like Max layout, but still with - # multiple stack panes - # Key( - # [mod, "shift"], - # "Return", - # lazy.layout.toggle_split(), - # desc="Toggle between split and unsplit sides of stack", - # ), - Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"), - # Toggle between different layouts as defined below - Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), - Key([mod1], "f4", lazy.window.kill(), desc="Kill focused window"), - Key( - [mod], - "f", - lazy.window.toggle_fullscreen(), - desc="Toggle fullscreen on the focused window", - ), - Key([mod], "space", lazy.window.toggle_floating(), desc="Toggle floating on the focused window"), - Key([mod, "control"], "c", lazy.reload_config(), desc="Reload the config"), - Key([mod, "control", "shift"], "c", lazy.restart(), desc="Restart QTile"), - Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), - Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"), - Key([mod1], "l", lazy.spawn("xsecurelock"), desc="Toggle floating on the focused window"), - #Key([mod], 'd', lazy.run_extension(extension.DmenuRun( - # dmenu_ignorecase=True, - # dmenu_font="Andika-8", - # dmenu_lines=10, - # dmenu_bottom=True, - #))), - Key([mod], 'd', lazy.spawn("rofi -show drun")), - - # audio - Key([], 'XF86AudioRaiseVolume', lazy.spawn('amixer sset Master 5%+')), - Key([], 'XF86AudioLowerVolume', lazy.spawn('amixer sset Master 5%-')), - Key([], 'XF86AudioMute', lazy.spawn('amixer sset Master toggle')), - Key([], 'XF86AudioMicMute', lazy.spawn('amixer set Capture toggle')), - - # backlight - Key([], 'XF86MonBrightnessDown', lazy.spawn('brightnessctl set 5%-')), - Key([], 'XF86MonBrightnessUp', lazy.spawn('brightnessctl set +5%')), - - # tt gui - Key([mod, "shift"], "Return", lazy.spawn("/home/jakob/.local/bin/tt-g")), -] diff --git a/linux/qtile/config/layout.m4.py b/linux/qtile/config/layout.m4.py deleted file mode 100644 index cdddb18..0000000 --- a/linux/qtile/config/layout.m4.py +++ /dev/null @@ -1,29 +0,0 @@ -layouts = [ - layout.Columns(border_focus_stack=["#d75f5f", "#8f3d3d"], border_width=4), - layout.Max(), - # Try more layouts by unleashing below layouts. - # layout.Stack(num_stacks=2), - # layout.Bsp(), - layout.Matrix(), - # layout.MonadTall(), - # layout.MonadWide(), - # layout.RatioTile(), - # layout.Tile(), - layout.TreeTab(), - # layout.VerticalTile(), - layout.Zoomy(), - # layout.Floating(), -] - -floating_layout = layout.Floating( - float_rules=[ - # Run the utility of `xprop` to see the wm class and name of an X client. - *layout.Floating.default_float_rules, - Match(wm_class="confirmreset"), # gitk - Match(wm_class="makebranch"), # gitk - Match(wm_class="maketag"), # gitk - Match(wm_class="ssh-askpass"), # ssh-askpass - Match(title="branchdialog"), # gitk - Match(title="pinentry"), # GPG key password entry - ] -) diff --git a/linux/qtile/config/screen.m4.py b/linux/qtile/config/screen.m4.py deleted file mode 100644 index 7511125..0000000 --- a/linux/qtile/config/screen.m4.py +++ /dev/null @@ -1,115 +0,0 @@ -from Xlib import display as xdisplay - -def get_monitors(): - display = xdisplay.Display() - screen = display.screen() - resources = screen.root.xrandr_get_screen_resources() - return [display.xrandr_get_output_info(output, resources.config_timestamp) - for output in resources.outputs] - - -# See https://github.com/qtile/qtile/wiki/screens -def get_num_monitors(): - num_monitors = 0 - try: - for monitor in get_monitors(): - preferred = False - if hasattr(monitor, 'preferred'): - preferred = monitor.preferred - elif hasattr(monitor, 'num_preferred'): - preferred = monitor.num_preferred - if preferred: - num_monitors += 1 - except Exception as e: - logger.error(e) - # always setup at least one monitor - return 1 - else: - return num_monitors - - -widget_defaults = dict( - font="sans", - fontsize=12, - padding=3, -) -extension_defaults = widget_defaults.copy() -widget_systray = widget.Systray() -widget_pomodoro = widget.Pomodoro() - -def get_widgets(systray: bool = False): - w = list() - w.append(widget.CurrentLayout()) - w.append(widget.GroupBox( - highlight_method="line", - hide_unused=True, - )) - w.append(widget.Prompt()) - w.append(widget.Chord( - chords_colors={ - "launch": ("#ff0000", "#ffffff"), - }, - name_transform=lambda name: name.upper(), - )) - - w.append(widget.Spacer()) - w.append(widget.Clock(format="%H:%M (%d-%m-%Y)")) - w.append(widget.Spacer()) - - w.append(widget.Notify()) - w.append(widget.Sep()) - w.append(widget_pomodoro) - w.append(widget.Sep()) - w.append(widget.Volume()) - w.append(widget.Sep()) - w.append(UPowerWidget()) - w.append(widget.Sep()) - - # NB Systray is incompatible with Wayland, consider using StatusNotifier instead - #w.append(widget.StatusNotifier()) - if systray: - global widget_systray - w.append(widget_systray) - #w.append(widget.QuickExit()) - return w - -def make_bar(systray: bool = False): - return bar.Bar( - get_widgets(systray), - 24, - background="#2b303b", - # border_width=[2, 0, 2, 0], # Draw top and bottom borders - # border_color=["ff00ff", "000000", "ff00ff", "000000"] # Borders are magenta - ) - -def make_screen(systray: bool = False): - return Screen( - top=make_bar(systray), - # you can uncomment this variable if you see that on x11 floating resize/moving is laggy - # by default we handle these events delayed to already improve performance, however your system might still be struggling - # this variable is set to none (no cap) by default, but you can set it to 60 to indicate that you limit it to 60 events per second - # x11_drag_polling_rate = 60, - wallpaper=wallpapers.WALLPAPER_TILES, - wallpaper_mode="fill", - ) - -def run_screen_reconfiguration(): - logger.warn("reconfiguring screens") - - global screens - screens = [make_screen(True)] - - global num_monitors - num_monitors = get_num_monitors() - if num_monitors > 1: - for i in range(num_monitors - 1): - logger.warn(f"Adding additional screen {i+1} of {num_monitors-1}") - screens.append(make_screen(False)) - -run_screen_reconfiguration() - -# Reload on screen change -@hook.subscribe.screens_reconfigured -def screen_reconf(_): - run_screen_reconfiguration() - qtile.cmd_reload_config() diff --git a/linux/qtile/qtile-wayland.desktop b/linux/qtile/qtile-wayland.desktop deleted file mode 100644 index 3445e1d..0000000 --- a/linux/qtile/qtile-wayland.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Name=Qtile (Wayland) -Comment=Qtile Session -Exec=qtile start -b wayland -Type=Application -Keywords=wm;tiling diff --git a/linux/qtile/qtile.desktop b/linux/qtile/qtile.desktop deleted file mode 100644 index 59c4c9b..0000000 --- a/linux/qtile/qtile.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -Name=Qtile (X11) -Comment=Qtile Session -Exec=qtile start -Type=Application -Keywords=wm;tiling diff --git a/linux/sxhkd/sxhkdrc b/linux/sxhkd/sxhkdrc deleted file mode 100644 index d8fa1e1..0000000 --- a/linux/sxhkd/sxhkdrc +++ /dev/null @@ -1,147 +0,0 @@ -# -# wm independent hotkeys -# - -# terminal emulator -super + Return - alacritty - -# program launcher -super + d - rofi -show drun - -# make sxhkd reload its configuration files: -super + Escape - pkill -USR1 -x sxhkd - -# Lock -super + l - XSECURELOCK_SAVER=saver_xscreensaver xsecurelock - -# -# bspwm hotkeys -# - -# quit/restart bspwm -super + shift + c - bspc wm -r - -super + alt + q - bspc quit - -# close and kill -alt + F4 - bspc node -c - -# alternate between the tiled and monocle layout -super + m - bspc desktop -l next - -# send the newest marked node to the newest preselected node -super + y - bspc node newest.marked.local -n newest.!automatic.local - -# swap the current node and the biggest window -super + g - bspc node -s biggest.window - -# -# state/flags -# - -# set the window state -super + {t,shift + t,space,f} - bspc node -t {tiled,pseudo_tiled,floating,fullscreen} - -# set the node flags -super + ctrl + {m,x,y,z} - bspc node -g {marked,locked,sticky,private} - -# -# focus/swap -# - -# focus the node in the given direction -super + {_,shift + }{h,j,k,l} - bspc node -{f,s} {west,south,north,east} - -# focus the node for the given path jump -super + {p,b,comma,period} - bspc node -f @{parent,brother,first,second} - -# focus the next/previous window in the current desktop -super + {_,shift + }c - bspc node -f {next,prev}.local.!hidden.window - -# focus the next/previous desktop in the current monitor -super + bracket{left,right} - bspc desktop -f {prev,next}.local - -# focus the last node/desktop -super + {grave,Tab} - bspc {node,desktop} -f last - -# focus the older or newer node in the focus history -super + {o,i} - bspc wm -h off; \ - bspc node {older,newer} -f; \ - bspc wm -h on - -# focus or send to the given desktop -super + {_,shift + }{1-9,0} - bspc {desktop -f,node -d} '^{1-9,10}' - -# -# preselect -# - -# preselect the direction -super + ctrl + {h,j,k,l} - bspc node -p {west,south,north,east} - -# preselect the ratio -super + ctrl + {1-9} - bspc node -o 0.{1-9} - -# cancel the preselection for the focused node -super + ctrl + space - bspc node -p cancel - -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# -# move/resize -# - -# expand a window by moving one of its side outward -super + alt + {h,j,k,l} - bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} - -# contract a window by moving one of its side inward -super + alt + shift + {h,j,k,l} - bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} - -# move a floating window -super + {Left,Down,Up,Right} - bspc node -v {-20 0,0 20,0 -20,20 0} - -#Volume Control -XF86AudioLowerVolume - amixer set Master 5%- -XF86AudioRaiseVolume - amixer set Master 5%+ -XF86AudioMute - amixer set Master toggle - -# Brightness -XF86MonBrightnessDown - xbacklight -dec 5 - -XF86MonBrightnessUp - xbacklight -inc 5 - -# keyboard layouts -super + shift + @space - {setxkbmap no, setxkbmap us} diff --git a/linux/umon/umon.conf b/linux/umon/umon.conf deleted file mode 100644 index 8321667..0000000 --- a/linux/umon/umon.conf +++ /dev/null @@ -1,51 +0,0 @@ -{ - "HDMI": { - "Screen": { - "width": 4480, - "height": 1440, - "widthMM": 1185, - "heightMM": 381 - }, - "Monitors": { - "eDP10\u007f": { - "edid": "BOE0unknown unkn", - "primary": true, - "x": 0, - "y": 360, - "rotate_setting": 1, - "width": 1920, - "height": 1080, - "refresh_rate": 60.0 - }, - "HDMI10": { - "edid": "LEN0L24q-10 L24q", - "x": 1920, - "y": 0, - "rotate_setting": 1, - "width": 2560, - "height": 1440, - "refresh_rate": 59.95 - } - } - }, - "laptop-only": { - "Screen": { - "width": 1920, - "height": 1080, - "widthMM": 508, - "heightMM": 285 - }, - "Monitors": { - "eDP10\u007f": { - "edid": "BOE0unknown unkn", - "primary": true, - "x": 0, - "y": 0, - "rotate_setting": 1, - "width": 1920, - "height": 1080, - "refresh_rate": 60.0 - } - } - } -}
\ No newline at end of file |
