From 9e0348c7eebf0619bfc6906dcf85cac4137ab09c Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 23 Nov 2019 16:24:43 +0300 Subject: Migrate to yadm 2.0 https://yadm.io/docs/upgrade_from_1 --- .config/conky/conky.conf##c.desktop,h.Lowe | 98 ++++++++ .config/conky/conky.conf##c.desktop,h.Maus | 106 ++++++++ .config/conky/conky.conf##c.mobile,h.Luchs | 90 +++++++ .config/conky/conky.conf##desktop.Linux.Lowe | 98 -------- .config/conky/conky.conf##desktop.Linux.Maus | 106 -------- .config/conky/conky.conf##mobile.Linux.Luchs | 90 ------- .config/i3/config##c.desktop,h.Lowe | 255 +++++++++++++++++++ .config/i3/config##c.desktop,h.Maus | 280 +++++++++++++++++++++ .config/i3/config##c.mobile,h.Luchs | 296 ++++++++++++++++++++++ .config/i3/config##desktop.Linux.Lowe | 255 ------------------- .config/i3/config##desktop.Linux.Maus | 280 --------------------- .config/i3/config##mobile.Linux.Luchs | 296 ---------------------- .config/polybar/config##c.desktop,h.Lowe | 285 +++++++++++++++++++++ .config/polybar/config##c.desktop,h.Maus | 285 +++++++++++++++++++++ .config/polybar/config##c.mobile,h.Luchs | 360 +++++++++++++++++++++++++++ .config/polybar/config##desktop.Linux.Lowe | 285 --------------------- .config/polybar/config##desktop.Linux.Maus | 285 --------------------- .config/polybar/config##mobile.Linux.Luchs | 360 --------------------------- .taskrc##c.desktop,h.Lowe | 90 +++++++ .taskrc##c.desktop,h.Maus | 90 +++++++ .taskrc##c.mobile,h.Luchs | 90 +++++++ .taskrc##desktop.Linux.Lowe | 90 ------- .taskrc##desktop.Linux.Maus | 90 ------- .taskrc##mobile.Linux.Luchs | 90 ------- .xsession##c.desktop,h.Lowe | 38 +++ .xsession##c.mobile,h.Luchs | 7 + .xsession##desktop.Linux.Lowe | 38 --- .xsession##mobile.Linux.Luchs | 7 - 28 files changed, 2370 insertions(+), 2370 deletions(-) create mode 100644 .config/conky/conky.conf##c.desktop,h.Lowe create mode 100644 .config/conky/conky.conf##c.desktop,h.Maus create mode 100644 .config/conky/conky.conf##c.mobile,h.Luchs delete mode 100644 .config/conky/conky.conf##desktop.Linux.Lowe delete mode 100644 .config/conky/conky.conf##desktop.Linux.Maus delete mode 100644 .config/conky/conky.conf##mobile.Linux.Luchs create mode 100644 .config/i3/config##c.desktop,h.Lowe create mode 100644 .config/i3/config##c.desktop,h.Maus create mode 100644 .config/i3/config##c.mobile,h.Luchs delete mode 100644 .config/i3/config##desktop.Linux.Lowe delete mode 100644 .config/i3/config##desktop.Linux.Maus delete mode 100644 .config/i3/config##mobile.Linux.Luchs create mode 100644 .config/polybar/config##c.desktop,h.Lowe create mode 100644 .config/polybar/config##c.desktop,h.Maus create mode 100644 .config/polybar/config##c.mobile,h.Luchs delete mode 100644 .config/polybar/config##desktop.Linux.Lowe delete mode 100644 .config/polybar/config##desktop.Linux.Maus delete mode 100644 .config/polybar/config##mobile.Linux.Luchs create mode 100644 .taskrc##c.desktop,h.Lowe create mode 100644 .taskrc##c.desktop,h.Maus create mode 100644 .taskrc##c.mobile,h.Luchs delete mode 100644 .taskrc##desktop.Linux.Lowe delete mode 100644 .taskrc##desktop.Linux.Maus delete mode 100644 .taskrc##mobile.Linux.Luchs create mode 100755 .xsession##c.desktop,h.Lowe create mode 100755 .xsession##c.mobile,h.Luchs delete mode 100755 .xsession##desktop.Linux.Lowe delete mode 100755 .xsession##mobile.Linux.Luchs diff --git a/.config/conky/conky.conf##c.desktop,h.Lowe b/.config/conky/conky.conf##c.desktop,h.Lowe new file mode 100644 index 0000000..f7c160c --- /dev/null +++ b/.config/conky/conky.conf##c.desktop,h.Lowe @@ -0,0 +1,98 @@ +conky.config = { + alignment = 'top_right', + background = true, + + draw_borders = false, + draw_graph_borders = true, + border_width = 1, + border_outer_margin = 5, + stippled_borders = 6, + + cpu_avg_samples = 2, + default_color = 'white', + default_outline_color = '#555', + default_shade_color = 'black', + draw_outline = false, + draw_shades = true, + use_xft = true, + font = 'FuraCode Nerd Font Mono:size=10', + + gap_x = 25, + gap_y = 55, + + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_stderr = false, + extra_newline = false, + own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager", + own_window_transparent = false, + own_window_argb_visual = true, + own_window_argb_value = 200, + own_window_colour = '282828', + own_window = true, + own_window_class = 'Conky', + own_window_type = "override", + short_units = true, + update_interval = 1.0, + uppercase = false, + use_spacer = 'left', + pad_percents = 2, + show_graph_scale = false, + show_graph_range = false, + double_buffer = true, + + lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua', + + color0 = '#e03031', + color2 = '#98971a', + color1 = '#6495ed', + color3 = '#6497b1', + color4 = '#e03031', + color5 = '#22475b', + color6 = '#6497b1', + color7 = '#e03031', + color8 = '#03396c' +} + +conky.text = [[ +${color4}${alignr} +${color}${alignc}$sysname $kernel on $machine +${color}${alignc}${exec whoami} @ $nodename +${color0}$hr${color} +${alignc}${color1}date ${color}${time %d %B %A} +${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S} +${color0}temperatures $stippled_hr +${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon1 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C +${color0}processors $stippled_hr${color} +${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% +${cpubar cpu3 6,45} ${freq_g 3}GHz ${cpu cpu3}% ${alignr}${cpubar cpu4 6,45} ${freq_g 4}GHz${alignr}${cpu cpu4}% +${color0}load $stippled_hr${color} +${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% +${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% +${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% +${color0}filesystem $stippled_hr${color} +${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} +${color0}networking $stippled_hr${color} +${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s +${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t} +${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l} +${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} +${color0}processes $stippled_hr${color} +${color1}${alignc}name pid cpu% mem% +${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} +${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +${color0}forecast $stippled_hr${color} +${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} +${color0}calendar $stippled_hr${color} +${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} +${color0}latest xkcd $stippled_hr${color} +${voffset 05}${alignc}${font Lato Medium:size=11}${rss https://xkcd.com/rss.xml 10 item_title 0}$font +${voffset 05}${color0}situation $stippled_hr${color} +${voffset 05}${offset 10}Checking${alignr}${offset -10}${color2}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Checking}${color} +${voffset 05}${offset 10}Liabilities${alignr}${offset -10}${color4}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Liabilities}${color} +${color4}${alignr} +]] diff --git a/.config/conky/conky.conf##c.desktop,h.Maus b/.config/conky/conky.conf##c.desktop,h.Maus new file mode 100644 index 0000000..b340c80 --- /dev/null +++ b/.config/conky/conky.conf##c.desktop,h.Maus @@ -0,0 +1,106 @@ +conky.config = { + alignment = 'middle_middle', + background = true, + + draw_borders = false, + draw_graph_borders = true, + border_width = 1, + border_outer_margin = 5, + stippled_borders = 6, + + cpu_avg_samples = 2, + default_color = 'white', + default_outline_color = '#555', + default_shade_color = 'black', + draw_outline = false, + draw_shades = true, + use_xft = true, + font = 'FuraCode Nerd Font Mono:size=10', + + gap_x = 1200, + gap_y = 150, + + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_stderr = false, + extra_newline = false, + own_window = true, + own_window_class = 'Conky', + own_window_type = 'override', + own_window_transparent = false, + own_window_hints = 'below,undecorated,skip_taskbar,skip_pager,sticky', + own_window_argb_visual = true, + own_window_argb_value = 200, + own_window_colour = '282828', + short_units = true, + update_interval = 1.0, + uppercase = false, + use_spacer = 'left', + pad_percents = 2, + show_graph_scale = false, + show_graph_range = false, + double_buffer = true, + + lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua', + + color0 = '#e74c3c', + color1 = '#bdc3c7', + color3 = '#7a3900', + color4 = '#ff8a00', + color5 = '#ffe3a0', + color6 = '#bdc3c7', + color7 = '#ff8a00', + color8 = '#ffe3a0' +} + +conky.text = [[ +${color4}${alignr} +${color}${alignc}$sysname $kernel on $machine +${color}${alignc}${exec whoami} @ $nodename +${color0}$hr${color} +${color0}${alignc} +${alignc}${color}${time %d %B %A} +${voffset 1} +${color0}${offset 40}羽${alignr}${offset -30} +${color}$uptime${alignr} ${color}${time %k:%M:%S} +${voffset 1} +${color0}${alignc} +${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon1 temp 1}${alignr} ${color1}mobo ${color}${acpitemp} +${voffset 1} +${color0}${offset 3}${color} +${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% +${cpubar cpu3 6,45} ${freq_g 3}GHz ${cpu cpu3}% ${alignr}${cpubar cpu4 6,45} ${freq_g 4}GHz${alignr}${cpu cpu4}% +${cpubar cpu5 6,45} ${freq_g 5}GHz ${cpu cpu5}% ${alignr}${cpubar cpu6 6,45} ${freq_g 6}GHz${alignr}${cpu cpu6}% +${cpubar cpu7 6,45} ${freq_g 7}GHz ${cpu cpu7}% ${alignr}${cpubar cpu8 6,45} ${freq_g 8}GHz${alignr}${cpu cpu8}% +${voffset 1} +${color0}${offset 3}${color} +${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% +${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% +${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% +${voffset 1} +${color0}${offset 3}${color} +${color1}/ ${color}${fs_bar 6, 130 /}${alignr}${fs_used /} /${fs_size /} ${color} +${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} +${voffset 1} +${color0}${offset 3}ﯱ${color} +${color1}down${color} ${downspeed eno1}/s${alignr}${color1}up${color} ${upspeed eno1}/s +${color}${downspeedgraph eno1 32,150 2980b9 e74c3c}${color} ${upspeedgraph eno1 32,150 2980b9 e74c3c} +${color1}address${color} ${addr eno1}${alignr}updates ${execi 3600 checkupdates | wc -l} +${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} +${voffset 1} +${color0}${offset 3}${color} +${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} +${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +${color}${alignc} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} +${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +${voffset 3} +${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} +${voffset 1} +${color0}$stippled_hr${color} +${voffset 1} +${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} +${color4}${alignr} +]] diff --git a/.config/conky/conky.conf##c.mobile,h.Luchs b/.config/conky/conky.conf##c.mobile,h.Luchs new file mode 100644 index 0000000..f9d1307 --- /dev/null +++ b/.config/conky/conky.conf##c.mobile,h.Luchs @@ -0,0 +1,90 @@ +conky.config = { + alignment = 'top_left', + background = true, + + draw_borders = false, + draw_graph_borders = true, + border_width = 1, + border_outer_margin = 5, + stippled_borders = 6, + + cpu_avg_samples = 2, + default_color = 'white', + default_outline_color = '#555', + default_shade_color = 'black', + draw_outline = false, + draw_shades = true, + use_xft = true, + font = 'FuraCode Nerd Font Mono:size=9', + + gap_x = 15, + gap_y = 45, + + minimum_height = 5, + minimum_width = 5, + net_avg_samples = 2, + no_buffers = true, + out_to_console = false, + out_to_stderr = false, + extra_newline = false, + own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager", + own_window_transparent = false, + own_window_argb_visual = true, + own_window_argb_value = 200, + own_window_colour = '282828', + own_window = true, + own_window_class = 'Conky', + own_window_type = "override", + short_units = true, + update_interval = 1.0, + uppercase = false, + use_spacer = 'left', + pad_percents = 2, + show_graph_scale = false, + show_graph_range = false, + double_buffer = true, + + color0 = '#e03031', + color2 = '#98971a', + color1 = '#6495ed', + color3 = '#6497b1', + color4 = '#e03031', + color5 = '#22475b', + color6 = '#6497b1', + color7 = '#e03031', + color8 = '#03396c' +} + +conky.text = [[ +${color4}${alignr} +${color}${alignc}$sysname $kernel on $machine +${color}${alignc}${exec whoami} @ $nodename +${color0}$hr${color} +${alignc}${color1}date ${color}${time %d %B %A} +${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S} +${color0}temperatures $stippled_hr +${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon2 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C +${color0}processors $stippled_hr${color} +${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% +${color0}load $stippled_hr${color} +${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% +${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% +${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% +${color0}filesystem $stippled_hr${color} +${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} +${color0}networking $stippled_hr${color} +${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s +${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t} +${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l} +${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} +${color0}processes $stippled_hr${color} +${color1}${alignc}name pid cpu% mem% +${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} +${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} +${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} +${color0}forecast $stippled_hr${color} +${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} +${color0}calendar $stippled_hr${color} +${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} +${color4}${alignr} +]] diff --git a/.config/conky/conky.conf##desktop.Linux.Lowe b/.config/conky/conky.conf##desktop.Linux.Lowe deleted file mode 100644 index f7c160c..0000000 --- a/.config/conky/conky.conf##desktop.Linux.Lowe +++ /dev/null @@ -1,98 +0,0 @@ -conky.config = { - alignment = 'top_right', - background = true, - - draw_borders = false, - draw_graph_borders = true, - border_width = 1, - border_outer_margin = 5, - stippled_borders = 6, - - cpu_avg_samples = 2, - default_color = 'white', - default_outline_color = '#555', - default_shade_color = 'black', - draw_outline = false, - draw_shades = true, - use_xft = true, - font = 'FuraCode Nerd Font Mono:size=10', - - gap_x = 25, - gap_y = 55, - - minimum_height = 5, - minimum_width = 5, - net_avg_samples = 2, - no_buffers = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager", - own_window_transparent = false, - own_window_argb_visual = true, - own_window_argb_value = 200, - own_window_colour = '282828', - own_window = true, - own_window_class = 'Conky', - own_window_type = "override", - short_units = true, - update_interval = 1.0, - uppercase = false, - use_spacer = 'left', - pad_percents = 2, - show_graph_scale = false, - show_graph_range = false, - double_buffer = true, - - lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua', - - color0 = '#e03031', - color2 = '#98971a', - color1 = '#6495ed', - color3 = '#6497b1', - color4 = '#e03031', - color5 = '#22475b', - color6 = '#6497b1', - color7 = '#e03031', - color8 = '#03396c' -} - -conky.text = [[ -${color4}${alignr} -${color}${alignc}$sysname $kernel on $machine -${color}${alignc}${exec whoami} @ $nodename -${color0}$hr${color} -${alignc}${color1}date ${color}${time %d %B %A} -${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S} -${color0}temperatures $stippled_hr -${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon1 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C -${color0}processors $stippled_hr${color} -${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% -${cpubar cpu3 6,45} ${freq_g 3}GHz ${cpu cpu3}% ${alignr}${cpubar cpu4 6,45} ${freq_g 4}GHz${alignr}${cpu cpu4}% -${color0}load $stippled_hr${color} -${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% -${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% -${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% -${color0}filesystem $stippled_hr${color} -${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} -${color0}networking $stippled_hr${color} -${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s -${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t} -${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l} -${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} -${color0}processes $stippled_hr${color} -${color1}${alignc}name pid cpu% mem% -${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} -${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} -${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} -${color0}forecast $stippled_hr${color} -${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} -${color0}calendar $stippled_hr${color} -${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} -${color0}latest xkcd $stippled_hr${color} -${voffset 05}${alignc}${font Lato Medium:size=11}${rss https://xkcd.com/rss.xml 10 item_title 0}$font -${voffset 05}${color0}situation $stippled_hr${color} -${voffset 05}${offset 10}Checking${alignr}${offset -10}${color2}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Checking}${color} -${voffset 05}${offset 10}Liabilities${alignr}${offset -10}${color4}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Liabilities}${color} -${color4}${alignr} -]] diff --git a/.config/conky/conky.conf##desktop.Linux.Maus b/.config/conky/conky.conf##desktop.Linux.Maus deleted file mode 100644 index b340c80..0000000 --- a/.config/conky/conky.conf##desktop.Linux.Maus +++ /dev/null @@ -1,106 +0,0 @@ -conky.config = { - alignment = 'middle_middle', - background = true, - - draw_borders = false, - draw_graph_borders = true, - border_width = 1, - border_outer_margin = 5, - stippled_borders = 6, - - cpu_avg_samples = 2, - default_color = 'white', - default_outline_color = '#555', - default_shade_color = 'black', - draw_outline = false, - draw_shades = true, - use_xft = true, - font = 'FuraCode Nerd Font Mono:size=10', - - gap_x = 1200, - gap_y = 150, - - minimum_height = 5, - minimum_width = 5, - net_avg_samples = 2, - no_buffers = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - own_window = true, - own_window_class = 'Conky', - own_window_type = 'override', - own_window_transparent = false, - own_window_hints = 'below,undecorated,skip_taskbar,skip_pager,sticky', - own_window_argb_visual = true, - own_window_argb_value = 200, - own_window_colour = '282828', - short_units = true, - update_interval = 1.0, - uppercase = false, - use_spacer = 'left', - pad_percents = 2, - show_graph_scale = false, - show_graph_range = false, - double_buffer = true, - - lua_load = '~/.config/conky/scripts/conky_lua_scripts.lua', - - color0 = '#e74c3c', - color1 = '#bdc3c7', - color3 = '#7a3900', - color4 = '#ff8a00', - color5 = '#ffe3a0', - color6 = '#bdc3c7', - color7 = '#ff8a00', - color8 = '#ffe3a0' -} - -conky.text = [[ -${color4}${alignr} -${color}${alignc}$sysname $kernel on $machine -${color}${alignc}${exec whoami} @ $nodename -${color0}$hr${color} -${color0}${alignc} -${alignc}${color}${time %d %B %A} -${voffset 1} -${color0}${offset 40}羽${alignr}${offset -30} -${color}$uptime${alignr} ${color}${time %k:%M:%S} -${voffset 1} -${color0}${alignc} -${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon1 temp 1}${alignr} ${color1}mobo ${color}${acpitemp} -${voffset 1} -${color0}${offset 3}${color} -${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% -${cpubar cpu3 6,45} ${freq_g 3}GHz ${cpu cpu3}% ${alignr}${cpubar cpu4 6,45} ${freq_g 4}GHz${alignr}${cpu cpu4}% -${cpubar cpu5 6,45} ${freq_g 5}GHz ${cpu cpu5}% ${alignr}${cpubar cpu6 6,45} ${freq_g 6}GHz${alignr}${cpu cpu6}% -${cpubar cpu7 6,45} ${freq_g 7}GHz ${cpu cpu7}% ${alignr}${cpubar cpu8 6,45} ${freq_g 8}GHz${alignr}${cpu cpu8}% -${voffset 1} -${color0}${offset 3}${color} -${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% -${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% -${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% -${voffset 1} -${color0}${offset 3}${color} -${color1}/ ${color}${fs_bar 6, 130 /}${alignr}${fs_used /} /${fs_size /} ${color} -${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} -${voffset 1} -${color0}${offset 3}ﯱ${color} -${color1}down${color} ${downspeed eno1}/s${alignr}${color1}up${color} ${upspeed eno1}/s -${color}${downspeedgraph eno1 32,150 2980b9 e74c3c}${color} ${upspeedgraph eno1 32,150 2980b9 e74c3c} -${color1}address${color} ${addr eno1}${alignr}updates ${execi 3600 checkupdates | wc -l} -${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} -${voffset 1} -${color0}${offset 3}${color} -${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} -${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} -${color}${alignc} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3} -${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} -${voffset 3} -${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} -${voffset 1} -${color0}$stippled_hr${color} -${voffset 1} -${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} -${color4}${alignr} -]] diff --git a/.config/conky/conky.conf##mobile.Linux.Luchs b/.config/conky/conky.conf##mobile.Linux.Luchs deleted file mode 100644 index f9d1307..0000000 --- a/.config/conky/conky.conf##mobile.Linux.Luchs +++ /dev/null @@ -1,90 +0,0 @@ -conky.config = { - alignment = 'top_left', - background = true, - - draw_borders = false, - draw_graph_borders = true, - border_width = 1, - border_outer_margin = 5, - stippled_borders = 6, - - cpu_avg_samples = 2, - default_color = 'white', - default_outline_color = '#555', - default_shade_color = 'black', - draw_outline = false, - draw_shades = true, - use_xft = true, - font = 'FuraCode Nerd Font Mono:size=9', - - gap_x = 15, - gap_y = 45, - - minimum_height = 5, - minimum_width = 5, - net_avg_samples = 2, - no_buffers = true, - out_to_console = false, - out_to_stderr = false, - extra_newline = false, - own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager", - own_window_transparent = false, - own_window_argb_visual = true, - own_window_argb_value = 200, - own_window_colour = '282828', - own_window = true, - own_window_class = 'Conky', - own_window_type = "override", - short_units = true, - update_interval = 1.0, - uppercase = false, - use_spacer = 'left', - pad_percents = 2, - show_graph_scale = false, - show_graph_range = false, - double_buffer = true, - - color0 = '#e03031', - color2 = '#98971a', - color1 = '#6495ed', - color3 = '#6497b1', - color4 = '#e03031', - color5 = '#22475b', - color6 = '#6497b1', - color7 = '#e03031', - color8 = '#03396c' -} - -conky.text = [[ -${color4}${alignr} -${color}${alignc}$sysname $kernel on $machine -${color}${alignc}${exec whoami} @ $nodename -${color0}$hr${color} -${alignc}${color1}date ${color}${time %d %B %A} -${color1}uptime${color} $uptime${alignr}${color1}time ${color}${time %k:%M:%S} -${color0}temperatures $stippled_hr -${color1}cpu ${color}${platform coretemp.0/hwmon/hwmon2 temp 1}°C${alignr} ${color1}mobo ${color}${acpitemp}°C -${color0}processors $stippled_hr${color} -${cpubar cpu1 6,45} ${freq_g 1}GHz ${cpu cpu1}% ${alignr}${cpubar cpu2 6,45} ${freq_g 2}GHz${alignr}${cpu cpu2}% -${color0}load $stippled_hr${color} -${color1}cpu${color} ${cpubar cpu0 6, 120}${alignr}${freq_g}GHz ${cpu cpu0}% -${color1}ram${color} ${membar 6, 120}${alignr}$mem/$memmax $memperc% -${color1}swp${color} ${swapbar 6,120}${alignr}$swap/$swapmax $swapperc% -${color0}filesystem $stippled_hr${color} -${color1}~ ${color}${FS_BAR 6, 130 /home}${alignr}${fs_used /home} /${fs_size /home} ${color} -${color0}networking $stippled_hr${color} -${color1}down${color} ${downspeed enp1s0}/s${alignr}${color1}up${color} ${upspeed enp1s0}/s -${color}${alignc}${downspeedgraph enp1s0 32,150 2980b9 e74c3c -t}${color} ${upspeedgraph enp1s0 32,150 2980b9 e74c3c -t} -${color1}address${color} ${addr enp1s0}${alignr}updates ${execi 3600 checkupdates | wc -l} -${color1}inbound${color} ${tcp_portmon 1 32767 count}${color1} outbound${color} ${tcp_portmon 32768 61000 count}${alignr}${color1}all${color} ${tcp_portmon 1 65535 count} -${color0}processes $stippled_hr${color} -${color1}${alignc}name pid cpu% mem% -${color}${alignc} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1} -${color}${alignc} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2} -${color}${alignc} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4} -${color0}forecast $stippled_hr${color} -${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g;s/^..//;s/ *$//;p}'} -${color0}calendar $stippled_hr${color} -${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} -${color4}${alignr} -]] diff --git a/.config/i3/config##c.desktop,h.Lowe b/.config/i3/config##c.desktop,h.Lowe new file mode 100644 index 0000000..30692e1 --- /dev/null +++ b/.config/i3/config##c.desktop,h.Lowe @@ -0,0 +1,255 @@ +# i3 config file (v4) +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +# set modifiers +set $mod Mod4 +set $alt Mod1 + +# launch polybar +exec --no-startup-id $HOME/.config/polybar/launch.sh & + +# start the screensaver, '' at the end is not a typo +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' + +# flash the active window +exec_always--no-startup-id flashfocus + +# Font for window titles +font pango:Lato 11 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $alt + +gaps inner 5 +gaps outer 0 + +############## +# bindings # +############## + +# i switched back to firefox can you tell +bindsym Ctrl+q exec --no-startup-id true + +# get the mouse out of the way +bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 + +# bookmark from clipboard +bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c + +# add taskwarrior/gtd calendar item +bindsym $mod+Shift+t exec --no-startup-id ~/bin/td + +# add taskwarrior/gtd inbox item +bindsym $mod+Shift+i exec --no-startup-id ~/bin/in + +# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) +bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" + +# use flameshot with print screen +bindsym Print exec flameshot gui + +# media keys +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" +bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause +bindsym XF86AudioPrev exec --no-startup-id playerctl previous +bindsym XF86AudioNext exec --no-startup-id playerctl next + +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + +# shortcuts for frequent programs +bindsym $mod+Shift+z exec zotero +bindsym $mod+Shift+f exec pcmanfm + +# start a terminal +bindsym $mod+Return exec kitty + +# kill focused window +bindsym $mod+Shift+q kill +bindsym --whole-window $mod+button2 kill + +# start rofi (a program launcher) +bindsym $mod+d exec rofi -show combi + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# split in horizontal orientation +bindsym $mod+b split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} +bindsym $mod+r mode "resize" + +# session +mode " (L)ock (S)ignout (R)eboot (P)oweroff" { + bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" + bindsym $mod+r exec systemctl reboot + bindsym $mod+p exec systemctl poweroff + bindsym $mod+s exit + bindcode 66 mode "default" +} +bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" + +bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh + +set $mode_gaps Gaps: (o)uter, (i)nner +#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + # bindsym h mode "$mode_gaps_horiz" + # bindsym v mode "$mode_gaps_verti" + # bindsym t mode "$mode_gaps_top" + # bindsym r mode "$mode_gaps_right" + # bindsym b mode "$mode_gaps_bottom" + # bindsym l mode "$mode_gaps_left" + # bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +for_window [class=".*"] border pixel 0 +for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable +assign [class="^Thunderbird$"] 8 + +# class border backgr. text indicator child_border +client.focused #458588 #285577 #ffffff #458588 #285577 +client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a +client.unfocused #927374 #222222 #888888 #292d2e #222222 +client.urgent #2f343a #900000 #ffffff #900000 #900000 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c + +client.background #ffffff + +# config +hide_edge_borders smart +workspace_auto_back_and_forth yes +focus_follows_mouse no diff --git a/.config/i3/config##c.desktop,h.Maus b/.config/i3/config##c.desktop,h.Maus new file mode 100644 index 0000000..3451ae4 --- /dev/null +++ b/.config/i3/config##c.desktop,h.Maus @@ -0,0 +1,280 @@ +# i3 config file (v4) +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +# set modifiers +set $mod Mod4 +set $alt Mod1 + +# launch polybar +exec --no-startup-id $HOME/.config/polybar/launch.sh & + +# start the screensaver, '' at the end is not a typo +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250"' '' + +#autostart +exec --no-startup-id xsettingsd & +exec --no-startup-id compton -b & +exec --no-startup-id nextcloud & +exec --no-startup-id copyq & +exec --no-startup-id redshift-gtk & +exec --no-startup-id nm-applet & +exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & + +# swap caps lock and escape, set keyboard layout +exec --no-startup-id setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace + +# and ctrl to escape +exec --no-startup-id xcape -e 'Control_L=Escape' + +#launch conky windows +exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf +exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf + +# set the wallpaper last (hopefully after xrandr) +exec --no-startup-id ~/.fehbg + +exec_always --no-startup-id flashfocus + +# Font for window titles +font pango:Lato 11 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $alt + +gaps inner 10 +gaps outer 0 + +############## +# bindings # +############## + +# i switched back to firefox can you tell +bindsym Ctrl+q exec --no-startup-id true + +# get the mouse out of the way +bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 + +# bookmark from clipboard +bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c + +# add taskwarrior/gtd calendar item +bindsym $mod+Shift+t exec --no-startup-id ~/bin/td + +# add taskwarrior/gtd inbox item +bindsym $mod+Shift+i exec --no-startup-id ~/bin/in + +# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) +bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" + +# use flameshot with print screen +bindsym Print exec flameshot gui + +# media keys +bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" +bindsym $mod+q exec --no-startup-id playerctl play-pause +bindsym $mod+Left exec --no-startup-id playerctl previous +bindsym $mod+Right exec --no-startup-id playerctl next + +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + +# shortcuts for frequent programs +bindsym $mod+Shift+z exec zotero +bindsym $mod+Shift+f exec thunar + +# start a terminal +bindsym $mod+Return exec kitty + +# kill focused window +bindsym $mod+Shift+q kill +bindsym --whole-window $mod+button2 kill + +# start rofi (a program launcher) +bindsym $mod+d exec rofi -show combi + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# split in horizontal orientation +bindsym $mod+b split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +bindsym $mod+Shift+greater move container to output right +bindsym $mod+Shift+less move container to output left + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} +bindsym $mod+r mode "resize" + +# session +mode " (L)ock (S)ignout (R)eboot (P)oweroff" { + bindsym $mod+l exec i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250" + bindsym $mod+r exec systemctl reboot + bindsym $mod+p exec systemctl poweroff + bindsym $mod+s exit + bindsym Escape mode "default" +} +bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" + +bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh + +set $mode_gaps Gaps: (o)uter, (i)nner +#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + # bindsym h mode "$mode_gaps_horiz" + # bindsym v mode "$mode_gaps_verti" + # bindsym t mode "$mode_gaps_top" + # bindsym r mode "$mode_gaps_right" + # bindsym b mode "$mode_gaps_bottom" + # bindsym l mode "$mode_gaps_left" + # bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +for_window [class=".*"] border pixel 0 +for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable +assign [class="^Steam$"] 9 +assign [class="^Thunderbird$"] 8 + +# class border backgr. text indicator child_border +client.focused #458588 #285577 #ffffff #458588 #285577 +client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a +client.unfocused #927374 #222222 #888888 #292d2e #222222 +client.urgent #2f343a #900000 #ffffff #900000 #900000 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c + +client.background #ffffff + +# config +hide_edge_borders smart +workspace_auto_back_and_forth yes +focus_follows_mouse no diff --git a/.config/i3/config##c.mobile,h.Luchs b/.config/i3/config##c.mobile,h.Luchs new file mode 100644 index 0000000..37ab3a5 --- /dev/null +++ b/.config/i3/config##c.mobile,h.Luchs @@ -0,0 +1,296 @@ +# i3 config file (v4) +# Please see https://i3wm.org/docs/userguide.html for a complete reference! + +# set modifiers +set $mod Mod4 +set $alt Mod1 + +# disable screensaver, beep and power saving +exec --no-startup-id xset -dpms & +exec --no-startup-id xset s off & +exec --no-startup-id xset -b & + +# start the network manager, useful for vpns +exec --no-startup-id nm-applet & + +# removable media +exec --no-startup-id udiskie --automount --file-manager pcmanfm --tray --notify & + +# set the wallpaper and other visuals +exec --no-startup-id ~/.fehbg & +exec --no-startup-id compton -b & +# exec --no-startup-id xsettingsd & + +exec --no-startup-id gebaard -b +exec --no-startup-id volnoti & + +# utilities +exec --no-startup-id nextcloud & +exec --no-startup-id copyq & +# exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf & +# exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf & + +# keyboard with alt+shift us,tr switch, map escape to capslock +exec --no-startup-id setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace & +exec --no-startup-id xcape -e 'Control_L=Escape' + +exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & +exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & + +# launch polybar +exec --no-startup-id $HOME/.config/polybar/launch.sh & + +# start the screensaver, '' at the end is not a typo +exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' + +# start the brightness utility +exec --no-startup-id clight & + +# flash the active window +exec --no-startup-id flashfocus & + +gaps inner 5 +gaps outer 2 + +# Font for window titles +font pango:Lato 11 + +# Use Mouse+$mod to drag floating windows to their wanted position +floating_modifier $alt + +############## +# bindings # +############## + +# i switched back to firefox can you tell +bindsym Ctrl+q exec --no-startup-id true + +# get the mouse out of the way +bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 + +# bookmark from clipboard +bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c + +# add taskwarrior/gtd calendar item +bindsym $mod+Shift+t exec --no-startup-id ~/bin/td + +# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) +bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" + +# use flameshot with print screen +bindsym Print exec flameshot gui + +# media keys +bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" +bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" +bindsym XF86AudioPlay exec mpc toggle +bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh +bindsym XF86AudioNext exec mpc next + +bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 & +bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 & + +bindsym XF86TouchpadToggle exec --no-startup-id perl -e '{`xinput list-props 11` =~ /^.*Device Enabled.+?(\d)$/m and {$1 ? `xinput --disable 11 && dunstify -a "touchpad" "disabled"` : `xinput --enable 11 && dunstify -a "touchpad" "enabled"`}} ' + +# Make the currently focused window a scratchpad +bindsym $mod+Shift+minus move scratchpad + +# Show the first scratchpad window +bindsym $mod+minus scratchpad show + +# shortcuts for frequent programs +bindsym $mod+Shift+z exec zotero +bindsym $mod+Shift+f exec pcmanfm + +# start a terminal +bindsym $mod+Return exec kitty + +# kill focused window +bindsym $mod+Shift+q kill + +# start rofi (a program launcher) +bindsym $mod+d exec rofi -show combi + +# change focus +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +# move focused window +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +# split in horizontal orientation +bindsym $mod+b split h + +# split in vertical orientation +bindsym $mod+v split v + +# enter fullscreen mode for the focused container +bindsym $mod+f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split) +bindsym $mod+s layout stacking +bindsym $mod+w layout tabbed +bindsym $mod+e layout toggle split + +# toggle tiling / floating +bindsym $mod+Shift+space floating toggle + +# change focus between tiling / floating windows +bindsym $mod+space focus mode_toggle + +# focus the parent container +bindsym $mod+a focus parent + +# Define names for default workspaces for which we configure key bindings later on. +# We use variables to avoid repeating the names in multiple places. +set $ws1 "1" +set $ws2 "2" +set $ws3 "3" +set $ws4 "4" +set $ws5 "5" +set $ws6 "6" +set $ws7 "7" +set $ws8 "8" +set $ws9 "9" +set $ws10 "10" + +# switch to workspace +bindsym $mod+1 workspace $ws1 +bindsym $mod+2 workspace $ws2 +bindsym $mod+3 workspace $ws3 +bindsym $mod+4 workspace $ws4 +bindsym $mod+5 workspace $ws5 +bindsym $mod+6 workspace $ws6 +bindsym $mod+7 workspace $ws7 +bindsym $mod+8 workspace $ws8 +bindsym $mod+9 workspace $ws9 +bindsym $mod+0 workspace $ws10 + +# move focused container to workspace +bindsym $mod+Shift+1 move container to workspace $ws1 +bindsym $mod+Shift+2 move container to workspace $ws2 +bindsym $mod+Shift+3 move container to workspace $ws3 +bindsym $mod+Shift+4 move container to workspace $ws4 +bindsym $mod+Shift+5 move container to workspace $ws5 +bindsym $mod+Shift+6 move container to workspace $ws6 +bindsym $mod+Shift+7 move container to workspace $ws7 +bindsym $mod+Shift+8 move container to workspace $ws8 +bindsym $mod+Shift+9 move container to workspace $ws9 +bindsym $mod+Shift+0 move container to workspace $ws10 + +# reload the configuration file +bindsym $mod+Shift+c reload +# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +bindsym $mod+Shift+r restart + +# resize window (you can also use the mouse for that) +mode "resize" { + # These bindings trigger as soon as you enter the resize mode + + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt + + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" +} +bindsym $mod+r mode "resize" + +# session +mode " (L)ock (S)ignout (R)eboot (P)oweroff" { + bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" + bindsym $mod+r exec systemctl reboot + bindsym $mod+p exec systemctl poweroff + bindsym $mod+s exit + bindcode 66 mode "default" +} +bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" + +bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh + +set $mode_gaps Gaps: (o)uter, (i)nner +#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft +set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) +set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) +# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) +bindsym $mod+Shift+g mode "$mode_gaps" + +mode "$mode_gaps" { + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + # bindsym h mode "$mode_gaps_horiz" + # bindsym v mode "$mode_gaps_verti" + # bindsym t mode "$mode_gaps_top" + # bindsym r mode "$mode_gaps_right" + # bindsym b mode "$mode_gaps_bottom" + # bindsym l mode "$mode_gaps_left" + # bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +mode "$mode_gaps_outer" { + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 + + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} +mode "$mode_gaps_inner" { + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 + + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 + + bindsym Return mode "$mode_gaps" + bindsym Escape mode "default" +} + +# disable borders for all windows +for_window [class=".*"] border pixel 0 + +# zotero citation dialogs and preferences windows should float +for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable +for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable +for_window [class="Zotero" window_role="pref"] floating enable + +assign [class="^Thunderbird$"] 8 + +# class border backgr. text indicator child_border +client.focused #458588 #285577 #ffffff #458588 #285577 +client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a +client.unfocused #927374 #222222 #888888 #292d2e #222222 +client.urgent #2f343a #900000 #ffffff #900000 #900000 +client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c + +client.background #ffffff + +# config +hide_edge_borders smart +workspace_auto_back_and_forth yes +focus_follows_mouse no diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe deleted file mode 100644 index 30692e1..0000000 --- a/.config/i3/config##desktop.Linux.Lowe +++ /dev/null @@ -1,255 +0,0 @@ -# i3 config file (v4) -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -# set modifiers -set $mod Mod4 -set $alt Mod1 - -# launch polybar -exec --no-startup-id $HOME/.config/polybar/launch.sh & - -# start the screensaver, '' at the end is not a typo -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' - -# flash the active window -exec_always--no-startup-id flashfocus - -# Font for window titles -font pango:Lato 11 - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $alt - -gaps inner 5 -gaps outer 0 - -############## -# bindings # -############## - -# i switched back to firefox can you tell -bindsym Ctrl+q exec --no-startup-id true - -# get the mouse out of the way -bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 - -# bookmark from clipboard -bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c - -# add taskwarrior/gtd calendar item -bindsym $mod+Shift+t exec --no-startup-id ~/bin/td - -# add taskwarrior/gtd inbox item -bindsym $mod+Shift+i exec --no-startup-id ~/bin/in - -# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) -bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace" - -# use flameshot with print screen -bindsym Print exec flameshot gui - -# media keys -bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" -bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause -bindsym XF86AudioPrev exec --no-startup-id playerctl previous -bindsym XF86AudioNext exec --no-startup-id playerctl next - -# Make the currently focused window a scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the first scratchpad window -bindsym $mod+minus scratchpad show - -# shortcuts for frequent programs -bindsym $mod+Shift+z exec zotero -bindsym $mod+Shift+f exec pcmanfm - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+Shift+q kill -bindsym --whole-window $mod+button2 kill - -# start rofi (a program launcher) -bindsym $mod+d exec rofi -show combi - -# change focus -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -# move focused window -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -# split in horizontal orientation -bindsym $mod+b split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} -bindsym $mod+r mode "resize" - -# session -mode " (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" - bindsym $mod+r exec systemctl reboot - bindsym $mod+p exec systemctl poweroff - bindsym $mod+s exit - bindcode 66 mode "default" -} -bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" - -bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh - -set $mode_gaps Gaps: (o)uter, (i)nner -#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - # bindsym h mode "$mode_gaps_horiz" - # bindsym v mode "$mode_gaps_verti" - # bindsym t mode "$mode_gaps_top" - # bindsym r mode "$mode_gaps_right" - # bindsym b mode "$mode_gaps_bottom" - # bindsym l mode "$mode_gaps_left" - # bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -for_window [class=".*"] border pixel 0 -for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable -for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable -assign [class="^Thunderbird$"] 8 - -# class border backgr. text indicator child_border -client.focused #458588 #285577 #ffffff #458588 #285577 -client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a -client.unfocused #927374 #222222 #888888 #292d2e #222222 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - -client.background #ffffff - -# config -hide_edge_borders smart -workspace_auto_back_and_forth yes -focus_follows_mouse no diff --git a/.config/i3/config##desktop.Linux.Maus b/.config/i3/config##desktop.Linux.Maus deleted file mode 100644 index 3451ae4..0000000 --- a/.config/i3/config##desktop.Linux.Maus +++ /dev/null @@ -1,280 +0,0 @@ -# i3 config file (v4) -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -# set modifiers -set $mod Mod4 -set $alt Mod1 - -# launch polybar -exec --no-startup-id $HOME/.config/polybar/launch.sh & - -# start the screensaver, '' at the end is not a typo -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250"' '' - -#autostart -exec --no-startup-id xsettingsd & -exec --no-startup-id compton -b & -exec --no-startup-id nextcloud & -exec --no-startup-id copyq & -exec --no-startup-id redshift-gtk & -exec --no-startup-id nm-applet & -exec --no-startup-id xrandr --output DVI-D-0 --off --output HDMI-0 --mode 1920x1080 --pos 0x0 --rotate left --output DVI-I-1 --primary --mode 1920x1080 --pos 1132x608 --rotate normal --output DVI-I-0 --off --output DP-1 --off --output DP-0 --off & - -# swap caps lock and escape, set keyboard layout -exec --no-startup-id setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace - -# and ctrl to escape -exec --no-startup-id xcape -e 'Control_L=Escape' - -#launch conky windows -exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf -exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf - -# set the wallpaper last (hopefully after xrandr) -exec --no-startup-id ~/.fehbg - -exec_always --no-startup-id flashfocus - -# Font for window titles -font pango:Lato 11 - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $alt - -gaps inner 10 -gaps outer 0 - -############## -# bindings # -############## - -# i switched back to firefox can you tell -bindsym Ctrl+q exec --no-startup-id true - -# get the mouse out of the way -bindsym $mod+o exec --no-startup-id xdotool mousemove 1087 1101 - -# bookmark from clipboard -bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c - -# add taskwarrior/gtd calendar item -bindsym $mod+Shift+t exec --no-startup-id ~/bin/td - -# add taskwarrior/gtd inbox item -bindsym $mod+Shift+i exec --no-startup-id ~/bin/in - -# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) -bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" - -# use flameshot with print screen -bindsym Print exec flameshot gui - -# media keys -bindsym $mod+Up exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym $mod+Down exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym $mod+m exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" -bindsym $mod+q exec --no-startup-id playerctl play-pause -bindsym $mod+Left exec --no-startup-id playerctl previous -bindsym $mod+Right exec --no-startup-id playerctl next - -# Make the currently focused window a scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the first scratchpad window -bindsym $mod+minus scratchpad show - -# shortcuts for frequent programs -bindsym $mod+Shift+z exec zotero -bindsym $mod+Shift+f exec thunar - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+Shift+q kill -bindsym --whole-window $mod+button2 kill - -# start rofi (a program launcher) -bindsym $mod+d exec rofi -show combi - -# change focus -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -# move focused window -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -# split in horizontal orientation -bindsym $mod+b split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -bindsym $mod+Shift+greater move container to output right -bindsym $mod+Shift+less move container to output left - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} -bindsym $mod+r mode "resize" - -# session -mode " (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec i3lock -i ~/Dropbox/Wallpapers/pots.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250" - bindsym $mod+r exec systemctl reboot - bindsym $mod+p exec systemctl poweroff - bindsym $mod+s exit - bindsym Escape mode "default" -} -bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" - -bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh - -set $mode_gaps Gaps: (o)uter, (i)nner -#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - # bindsym h mode "$mode_gaps_horiz" - # bindsym v mode "$mode_gaps_verti" - # bindsym t mode "$mode_gaps_top" - # bindsym r mode "$mode_gaps_right" - # bindsym b mode "$mode_gaps_bottom" - # bindsym l mode "$mode_gaps_left" - # bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -for_window [class=".*"] border pixel 0 -for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable -for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable -assign [class="^Steam$"] 9 -assign [class="^Thunderbird$"] 8 - -# class border backgr. text indicator child_border -client.focused #458588 #285577 #ffffff #458588 #285577 -client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a -client.unfocused #927374 #222222 #888888 #292d2e #222222 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - -client.background #ffffff - -# config -hide_edge_borders smart -workspace_auto_back_and_forth yes -focus_follows_mouse no diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs deleted file mode 100644 index 37ab3a5..0000000 --- a/.config/i3/config##mobile.Linux.Luchs +++ /dev/null @@ -1,296 +0,0 @@ -# i3 config file (v4) -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -# set modifiers -set $mod Mod4 -set $alt Mod1 - -# disable screensaver, beep and power saving -exec --no-startup-id xset -dpms & -exec --no-startup-id xset s off & -exec --no-startup-id xset -b & - -# start the network manager, useful for vpns -exec --no-startup-id nm-applet & - -# removable media -exec --no-startup-id udiskie --automount --file-manager pcmanfm --tray --notify & - -# set the wallpaper and other visuals -exec --no-startup-id ~/.fehbg & -exec --no-startup-id compton -b & -# exec --no-startup-id xsettingsd & - -exec --no-startup-id gebaard -b -exec --no-startup-id volnoti & - -# utilities -exec --no-startup-id nextcloud & -exec --no-startup-id copyq & -# exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf & -# exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf & - -# keyboard with alt+shift us,tr switch, map escape to capslock -exec --no-startup-id setxkbmap -model pc105 -layout us,us,tr -variant ,colemak, -option grp:alt_shift_toggle,caps:backspace & -exec --no-startup-id xcape -e 'Control_L=Escape' - -exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & -exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & - -# launch polybar -exec --no-startup-id $HOME/.config/polybar/launch.sh & - -# start the screensaver, '' at the end is not a typo -exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' - -# start the brightness utility -exec --no-startup-id clight & - -# flash the active window -exec --no-startup-id flashfocus & - -gaps inner 5 -gaps outer 2 - -# Font for window titles -font pango:Lato 11 - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $alt - -############## -# bindings # -############## - -# i switched back to firefox can you tell -bindsym Ctrl+q exec --no-startup-id true - -# get the mouse out of the way -bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 - -# bookmark from clipboard -bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c - -# add taskwarrior/gtd calendar item -bindsym $mod+Shift+t exec --no-startup-id ~/bin/td - -# swap caps lock and escape, set keyboard layout, 35 is ]/ü (layout agnostic) -bindcode $mod+35 exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" - -# use flameshot with print screen -bindsym Print exec flameshot gui - -# media keys -bindsym XF86AudioRaiseVolume exec --no-startup-id "amixer set Master 2%+ && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym XF86AudioLowerVolume exec --no-startup-id "amixer set Master 2%- && volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1)" -bindsym XF86AudioMute exec --no-startup-id "amixer set Master toggle && if amixer get Master | grep -Fq '[off]'; then volnoti-show -m; else volnoti-show $(amixer get Master | grep -Po '[0-9]+(?=%)' | head -1); fi" -bindsym XF86AudioPlay exec mpc toggle -bindsym XF86AudioPrev exec /home/yigit/bin/mpcPrevSong.sh -bindsym XF86AudioNext exec mpc next - -bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 5 & -bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 5 & - -bindsym XF86TouchpadToggle exec --no-startup-id perl -e '{`xinput list-props 11` =~ /^.*Device Enabled.+?(\d)$/m and {$1 ? `xinput --disable 11 && dunstify -a "touchpad" "disabled"` : `xinput --enable 11 && dunstify -a "touchpad" "enabled"`}} ' - -# Make the currently focused window a scratchpad -bindsym $mod+Shift+minus move scratchpad - -# Show the first scratchpad window -bindsym $mod+minus scratchpad show - -# shortcuts for frequent programs -bindsym $mod+Shift+z exec zotero -bindsym $mod+Shift+f exec pcmanfm - -# start a terminal -bindsym $mod+Return exec kitty - -# kill focused window -bindsym $mod+Shift+q kill - -# start rofi (a program launcher) -bindsym $mod+d exec rofi -show combi - -# change focus -bindsym $mod+h focus left -bindsym $mod+j focus down -bindsym $mod+k focus up -bindsym $mod+l focus right - -# move focused window -bindsym $mod+Shift+h move left -bindsym $mod+Shift+j move down -bindsym $mod+Shift+k move up -bindsym $mod+Shift+l move right - -# split in horizontal orientation -bindsym $mod+b split h - -# split in vertical orientation -bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle - -# focus the parent container -bindsym $mod+a focus parent - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - -# switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -bindsym $mod+Shift+1 move container to workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8 -bindsym $mod+Shift+9 move container to workspace $ws9 -bindsym $mod+Shift+0 move container to workspace $ws10 - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} -bindsym $mod+r mode "resize" - -# session -mode " (L)ock (S)ignout (R)eboot (P)oweroff" { - bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" - bindsym $mod+r exec systemctl reboot - bindsym $mod+p exec systemctl poweroff - bindsym $mod+s exit - bindcode 66 mode "default" -} -bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff" - -bindsym $mod+Shift+Escape exec --no-startup-id ~/bin/power.sh - -set $mode_gaps Gaps: (o)uter, (i)nner -#, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global) -# set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - # bindsym h mode "$mode_gaps_horiz" - # bindsym v mode "$mode_gaps_verti" - # bindsym t mode "$mode_gaps_top" - # bindsym r mode "$mode_gaps_right" - # bindsym b mode "$mode_gaps_bottom" - # bindsym l mode "$mode_gaps_left" - # bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "$mode_gaps" - bindsym Escape mode "default" -} - -# disable borders for all windows -for_window [class=".*"] border pixel 0 - -# zotero citation dialogs and preferences windows should float -for_window [class="Zotero" instance="Toplevel" title="Quick Format Citation"] floating enable -for_window [class="Zotero" instance="Toplevel" title="Progress"] floating enable -for_window [class="Zotero" window_role="pref"] floating enable - -assign [class="^Thunderbird$"] 8 - -# class border backgr. text indicator child_border -client.focused #458588 #285577 #ffffff #458588 #285577 -client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a -client.unfocused #927374 #222222 #888888 #292d2e #222222 -client.urgent #2f343a #900000 #ffffff #900000 #900000 -client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - -client.background #ffffff - -# config -hide_edge_borders smart -workspace_auto_back_and_forth yes -focus_follows_mouse no diff --git a/.config/polybar/config##c.desktop,h.Lowe b/.config/polybar/config##c.desktop,h.Lowe new file mode 100644 index 0000000..972e360 --- /dev/null +++ b/.config/polybar/config##c.desktop,h.Lowe @@ -0,0 +1,285 @@ +;========================================================== +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +;========================================================== + +[colors] +background = #0c1014 +background_alt = #0a3749 +background_modules = #fbf1c7 +foreground = #d3ebe9 +foreground_alt = #99d1ce +foreground_modules = #282828 +red = #9d0006 +green = #427b58 +sold_out_green = #1DB954 +yellow = #b56714 +blue = #458588 +purple = #8f3f71 +aqua = #689d6a +orange = #d65d0e +primary = #d26937 +secondary = #888ca6 +alert = #c23127 + +[bar/top] +monitor = DP-2 +width = 100% +height = 20 +offset-x = 0 +offset-y = 0 +radius = 0 +fixed-center = true + +background = ${colors.background} +foreground = ${colors.foreground} + +border-top-size = 0 +border-bottom-size = 0 +border-top-color = ${colors.background} +border-bottom-color = ${colors.background} + +padding = 2 +module-margin = 1 + +font-0 = scientifica:antialias=false;0 +font-1 = Lato:size=10;1 +font-2 = Raleway:size=10;1 +font-3 = FuraCode Nerd Font:size=11;2 + +modules-left = i3 pulseaudio-control spotify +modules-center = xwindow +modules-right = focus date time xkeyboard + +tray-position = right + +[module/focus] +type = custom/script +exec = ~/.config/polybar/focus +interval = 10 + +[module/spotify] +type = custom/script +interval = 1 +format-prefix = "" +format-prefix-padding = 1 +format-prefix-background = ${colors.sold_out_green} +format-prefix-foreground = ${colors.foreground} +format =