diff --git a/foot/.config/foot/foot.ini b/foot/.config/foot/foot.ini new file mode 100644 index 0000000..4393781 --- /dev/null +++ b/foot/.config/foot/foot.ini @@ -0,0 +1,26 @@ +font=Ttyp0:pixelsize=13 +#font=JuliaMono:pixelsize=12 + +[cursor] +#color = 080808 9e9e9e +color = 000000 ffff00 + +[colors] +foreground=dcdccc +background=111111 +regular0=222222 +regular1=cc9393 +regular2=7f9f7f +regular3=d0bf8f +regular4=6ca0a3 +regular5=dc8cc3 +regular6=93e0e3 +regular7=dcdccc +bright0=666666 +bright1=dca3a3 +bright2=bfebbf +bright3=f0dfaf +bright4=8cd0d3 +bright5=fcace3 +bright6=b3ffff +bright7=ffffff diff --git a/foot/.config/foot/high-contrast.ini b/foot/.config/foot/high-contrast.ini new file mode 100644 index 0000000..d016052 --- /dev/null +++ b/foot/.config/foot/high-contrast.ini @@ -0,0 +1,20 @@ + +#[colors] +#background=151515 +#foreground=aeaeae +#regular0=4d4d4d +#regular1=c70031 +#regular2=29cf13 +#regular3=d8e30e +#regular4=3449d1 +#regular5=8400ff +#regular6=0798ab +#regular7=e2d1e3 +#bright0=5a5a5a +#bright1=f05178 +#bright2=6ce05c +#bright3=f3f79e +#bright4=97a4f7 +#bright5=c495f0 +#bright6=68f2e0 +#bright7=ffffff diff --git a/imv/.config/imv/config b/imv/.config/imv/config new file mode 100644 index 0000000..a782337 --- /dev/null +++ b/imv/.config/imv/config @@ -0,0 +1,4 @@ +[options] +background = checks +width = 480 +height = 360 diff --git a/mail/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc b/mail/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc index 47df264..047a3d3 100644 --- a/mail/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc +++ b/mail/.config/neomutt/accounts/1-mail@oxapentane.com.muttrc @@ -22,7 +22,7 @@ unset signature unmacro index o macro index o "mbsync mail@oxapentane.com" "run mbsync to sync mail@oxapentane.com" -mailboxes "=Archive" "=Drafts" "=flipper" "=funk24" "=hackint" "=hkinv" "=INBOX" "=juliaacademy" "=Junk" "=kickstarter" "=leanpub" "=meduza" "=mercht" "=misc" "=monster" "=nplus1" "=nytimes" "=online-go" "=openweathermap" "=ovdinfo" "=quantumcountry" "=rocky" "=rockylinux" "=Sent" "=sinkhole" "=teepublic" "=Templates" "=threadless" "=Trash" "=vodafone" "=vultr" "=xakep" "=zotero-sync" +mailboxes "=Archive" "=Drafts" "=flipper" "=funk24" "=hackint" "=hkinv" "=INBOX" "=juliaacademy" "=Junk" "=kickstarter" "=leanpub" "=meduza" "=mercht" "=monster" "=nplus1" "=nytimes" "=online-go" "=openweathermap" "=ovdinfo" "=quantumcountry" "=rocky" "=rockylinux" "=Sent" "=sinkhole" "=teepublic" "=Templates" "=threadless" "=Trash" "=vodafone" "=vultr" "=xakep" "=zotero-sync" macro index,pager gj "=Junk" "go to junk" macro index,pager Mj ";=Junk" "move mail to junk" macro index,pager Cj ";=Junk" "copy mail to junk" diff --git a/sway/.config/alacritty/alacritty.yml b/sway/.config/alacritty/alacritty.yml new file mode 100644 index 0000000..4cb25da --- /dev/null +++ b/sway/.config/alacritty/alacritty.yml @@ -0,0 +1,189 @@ +font: + size: 10 # whatever this number actually means... + normal: + family: Iosevka + bold: + family: Iosevka + italic: + family: Iosevka + bold_italic: + family: Iosevka +#draw_bold_text_with_bright_colors: true + + + +# Colors +schemes: + moonfly: &moonfly + # Default colors + primary: + background: '#080808' + foreground: '#b2b2b2' + bright_foreground: '#eeeeee' + + # Cursor colors + cursor: + text: '#000000' + cursor: '#ffff00' + + # Selection colors + selection: + text: '#080808' + background: '#b2ceee' + + # Normal colors + normal: + black: '#323437' + red: '#ff5454' + green: '#8cc85f' + yellow: '#e3c78a' + blue: '#80a0ff' + magenta: '#cf87e8' + cyan: '#79dac8' + white: '#c6c6c6' + + # Bright colors + bright: + black: '#949494' + red: '#ff5189' + green: '#36c692' + yellow: '#c2c292' + blue: '#74b2ff' + magenta: '#ae81ff' + cyan: '#85dc85' + white: '#e4e4e4' + everforest_dark_hard: &everforest_dark_hard + primary: + background: '#272e33' + foreground: '#d3c6aa' + normal: + black: '#414b50' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + bright: + black: '#475258' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + everforest_dark_medium: &everforest_dark_medium + primary: + background: '#2d353b' + foreground: '#d3c6aa' + normal: + black: '#475258' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + bright: + black: '#475258' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + everforest_dark_soft: &everforest_dark_soft + primary: + background: '#333c43' + foreground: '#d3c6aa' + normal: + black: '#4d5960' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + bright: + black: '#4d5960' + red: '#e67e80' + green: '#a7c080' + yellow: '#dbbc7f' + blue: '#7fbbb3' + magenta: '#d699b6' + cyan: '#83c092' + white: '#d3c6aa' + everforest_light_hard: &everforest_light_hard + primary: + background: '#fffbef' + foreground: '#5c6a72' + normal: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#e8e5d5' + bright: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#e8e5d5' + everforest_light_medium: &everforest_light_medium + primary: + background: '#fdf6e3' + foreground: '#5c6a72' + normal: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#e0dcc7' + bright: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#e0dcc7' + everforest_light_soft: &everforest_light_soft + primary: + background: '#f3ead3' + foreground: '#5c6a72' + normal: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#d8d3ba' + bright: + black: '#5c6a72' + red: '#f85552' + green: '#8da101' + yellow: '#dfa000' + blue: '#3a94c5' + magenta: '#df69ba' + cyan: '#35a77c' + white: '#d8d3ba' + +# Apply +colors: *everforest_dark_hard diff --git a/sway/.config/i3status-rust/config.toml b/sway/.config/i3status-rust/config.toml new file mode 100644 index 0000000..3f34414 --- /dev/null +++ b/sway/.config/i3status-rust/config.toml @@ -0,0 +1,95 @@ +[theme] +theme = "foot" + +[icons] +icons = "awesome6" + +[[block]] +block = "time" +format = " $icon $timestamp.datetime(f:'%a %F %R', l:nl_NL) " +[block.theme_overrides] +idle_bg = { link = "idle_fg" } +idle_fg = { link = "idle_bg" } + +[[block]] +block = "maildir" +interval = 60 +inboxes = ["/home/grue/mail/dump@dvb.solutions/INBOX", "/home/grue/mail/grigory@tlm.solutions/INBOX" ] +threshold_critical = 1 +display_type = "new" +[[block.click]] +button = "left" +cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt" + +[[block]] +block = "maildir" +interval = 60 +inboxes = ["/home/grue/mail/mail@oxapentane.com/INBOX", "/home/grue/mail/mail@oxapentane.com/sinkhole", "/home/grue/mail/grigory@shipunov.xyz/INBOX"] +threshold_warning = 1 +threshold_critical = 10 +display_type = "new" +[[block.click]] +button = "left" +cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c neomutt" + +[[block]] +block = "backlight" +minimum = 5 +maximum = 100 +cycle = [ 100, 50, 10 ] + +[[block]] +block = "net" +device = "wlan0" +format = " $icon {$ssid $signal_strength $frequency|} " +# format = " $icon {$ssid $signal_strength $ip $ipv6|} " + +[[block]] +block = "net" +device = "enp1s0f0" +format = " $icon{ | $ip $ipv6 }" + +## TODO patch upstream +# [[block]] +# block = "net" +# device = "wg-mullvad" +# format = " $device " + +[[block]] +block = "memory" +format = " $icon $mem_used_percents " + +[[block]] +block = "cpu" +format = " $icon $frequency $barchart $utilization " + +[[block]] +block = "load" +format = " $1m.eng(w:4) $5m.eng(w:4) $15m.eng(w:4) " + +[[block]] +block = "bluetooth" +mac = "88:C9:E8:CE:69:9F" +[[block.click]] +button = "left" +cmd = "bluetoothctl connect 88:C9:E8:CE:69:9F" +[[block.click]] +button = "right" +cmd = "bluetoothctl disconnect 88:C9:E8:CE:69:9F" + +[[block]] +block = "sound" +headphones_indicator = true +[[block.click]] +button = "left" +cmd = "foot --app-id floating-foot --window-size-chars=150x50 -- zsh -c pulsemixer" + +[[block]] +block = "keyboard_layout" +driver = "sway" + +[[block]] +block = "battery" +driver = "upower" +format = " $icon $percentage $time " +if_command = "test -e /sys/class/power_supply/BAT0" diff --git a/sway/.config/i3status-rust/themes/everforest.toml b/sway/.config/i3status-rust/themes/everforest.toml new file mode 100644 index 0000000..b9353c0 --- /dev/null +++ b/sway/.config/i3status-rust/themes/everforest.toml @@ -0,0 +1,15 @@ +idle_bg = "#2d353b" +idle_fg = "#d3c6aa" + +good_fg = "#a7c080" + +info_fg = "#dbbc7f" + +warning_fg = "#e69875" + +critical_bg = "#e67e80" +critical_fg = "#d3c6aa" + +separator = "/" +separator_fg = "#d3c6aa" +separator_bg = "#2d353b" diff --git a/sway/.config/i3status-rust/themes/foot.toml b/sway/.config/i3status-rust/themes/foot.toml new file mode 100644 index 0000000..4e4ecfd --- /dev/null +++ b/sway/.config/i3status-rust/themes/foot.toml @@ -0,0 +1,19 @@ +idle_bg = "#111111" +idle_fg = "#dcdccc" + +good_bg = "#7f9f7f" +good_fg = "#111111" + +info_bg = "#6ca0a3" +info_fg = "#111111" + +warning_bg = "#f0dfaf" +warning_fg = "#111111" + +critical_bg = "#fcace3" +critical_fg = "#111111" + +separator = "░" +# separator = "█" +separator_fg = "#ffffff" +separator_bg = "#111111" diff --git a/sway/.config/i3status-rust/themes/moonfly.toml b/sway/.config/i3status-rust/themes/moonfly.toml new file mode 100644 index 0000000..4be691f --- /dev/null +++ b/sway/.config/i3status-rust/themes/moonfly.toml @@ -0,0 +1,15 @@ +idle_bg = "#080808" +idle_fg = "#b2b2b2" + +good_fg = "#8cc85f" + +info_fg = "#79dac8" + +warning_fg = "#e3c78a" + +critical_bg = "#ff5189" +critical_fg = "#080808" + +separator = "/" +separator_fg = "#b2b2b2" +separator_bg = "#080808" diff --git a/sway/.config/kanshi/config b/sway/.config/kanshi/config new file mode 100644 index 0000000..ecb76b8 --- /dev/null +++ b/sway/.config/kanshi/config @@ -0,0 +1,14 @@ +# Default +profile { + output eDP-1 enable +} +# Home +profile { + output eDP-1 enable enable position -1920,960 + output "LG Electronics LG HDR 4K 0x00000CA7" enable mode 3840x2160 position 0,0 +} +# Work +profile { + output eDP-1 enable position 0,1200 + output "Samsung Electric Company LF24T450G HNMTA01726" enable mode 1920x1200 position 0,0 +} diff --git a/sway/.config/mako/config b/sway/.config/mako/config new file mode 100644 index 0000000..94c3622 --- /dev/null +++ b/sway/.config/mako/config @@ -0,0 +1 @@ +font=Hack 9 diff --git a/sway/.config/mpv/mpv.conf b/sway/.config/mpv/mpv.conf new file mode 100644 index 0000000..9efc272 --- /dev/null +++ b/sway/.config/mpv/mpv.conf @@ -0,0 +1 @@ +hwdec=auto diff --git a/sway/.config/rofi/config.rasi b/sway/.config/rofi/config.rasi new file mode 100644 index 0000000..72773b6 --- /dev/null +++ b/sway/.config/rofi/config.rasi @@ -0,0 +1,8 @@ +configuration { + modi: "drun,ssh,run,combi"; + font: "Hack 11"; + combi-modi: "drun,ssh"; + terminal: "foot"; +} +//@theme "DarkBlue" +@theme "gruvbox-dark-hard" diff --git a/sway/.config/sway/colors b/sway/.config/sway/colors new file mode 100644 index 0000000..12d1f3b --- /dev/null +++ b/sway/.config/sway/colors @@ -0,0 +1,18 @@ +set $colorFG #dcdccc +set $colorBG #111111 +set $color00 #222222 +set $color01 #cc9393 +set $color02 #7f9f7f +set $color03 #d0bf8f +set $color04 #6ca0a3 +set $color05 #dc8cc3 +set $color06 #93e0e3 +set $color07 #dcdccc +set $color10 #666666 +set $color11 #dca3a3 +set $color12 #bfebbf +set $color13 #f0dfaf +set $color14 #8cd0d3 +set $color15 #fcace3 +set $color16 #b3ffff +set $color17 #ffffff diff --git a/sway/.config/sway/config b/sway/.config/sway/config new file mode 100644 index 0000000..4fcaea1 --- /dev/null +++ b/sway/.config/sway/config @@ -0,0 +1,362 @@ +# Default config for sway +# +# Copy this to ~/.config/sway/config and edit it to your liking. +# +# Read `man 5 sway` for a complete reference. + +### Variables +# +# Logo key. Use Mod1 for Alt. +set $mod Mod4 +# Home row direction keys, like vim +set $left h +set $down j +set $up k +set $right l +# Your preferred terminal emulator +set $term foot +set $floatterm foot --app-id floating-foot +set $lock $HOME/.config/sway/lock.sh + +# Your preferred application launcher +# Note: pass the final command to swaymsg so that the resulting window can be opened +# on the original workspace that the command was run on. +set $menu rofi -show combi | xargs swaymsg exec -- + +### Output configuration +# +# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/) +# output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +# output * bg /home/grue/Pictures/tiles/23.png tile +# output * bg /home/grue/Pictures/paper.jpg fill +output * bg ./wall.jpg fill + +# +# Example configuration: +# +# output HDMI-A-1 resolution 1920x1080 position 1920,0 +# +# You can get the names of your outputs by running: swaymsg -t get_outputs + +### Idle configuration +# +# Example configuration: +# +exec swayidle -w \ + timeout 300 $lock \ + timeout 303 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ + before-sleep $lock +# +# This will lock your screen after 300 seconds of inactivity, then turn off +# your displays after another 300 seconds, and turn your screens back on when +# resumed. It will also lock your screen before your computer goes to sleep. + +### Input configuration +# +# Example configuration: +# + input type:touchpad { + accel_profile adaptive + click_method clickfinger + dwt enabled + dwtp enabled + middle_emulation enabled + } + + input type:keyboard { + xkb_layout "us,ru" + xkb_options "caps:ctrl_modifier,grp:alt_space_toggle" + } +# +# You can get the names of your inputs by running: swaymsg -t get_inputs +# Read `man 5 sway-input` for more information about this section. + +focus_follows_mouse yes +# mouse_warping container +seat * hide_cursor 5000 + +### Key bindings +# +# Basics: +# + # Start a terminal + bindsym --to-code $mod+Return exec $term + # start a floating terminal + bindsym --to-code $mod+Shift+Return exec $floatterm + for_window [app_id="floating-foot"] floating enable + + # Start a python shell + bindsym --to-code $mod+z exec $floatterm python + + # Kill focused window + bindsym --to-code $mod+Shift+q kill + + # Start your launcher + bindsym --to-code $mod+d exec $menu + + # Drag floating windows by holding down $mod and left mouse button. + # Resize them with right mouse button + $mod. + # Despite the name, also works for non-floating windows. + # Change normal to inverse to use left mouse button for resizing and right + # mouse button for dragging. + floating_modifier $mod normal + + # Reload the configuration file + bindsym --to-code $mod+Shift+c reload + + # Exit sway (logs you out of your Wayland session) + bindsym --to-code $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' + + # Brightness + bindsym --to-code --locked XF86MonBrightnessDown exec "brightnessctl set 5%-" + bindsym --to-code --locked XF86MonBrightnessUp exec "brightnessctl set +5%" + # Volume + bindsym --to-code --locked XF86AudioRaiseVolume exec 'pamixer -i 1' + bindsym --to-code --locked XF86AudioLowerVolume exec 'pamixer -d 1' + bindsym --to-code --locked XF86AudioMute exec 'pamixer -t' + # Screen locking + bindsym --to-code $mod+Delete exec $lock + # Screenshots + bindsym --to-code Print exec 'grim -g "$(slurp)" - | wl-copy' + bindsym --to-code $mod+p exec 'grim -g "$(slurp)" - | wl-copy' + bindsym --to-code $mod+Print exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png' + bindsym --to-code $mod+Mod1+p exec 'grim -g "$(slurp)" ~/Pictures/$(date +"%Y-%m-%d-%H-%M-%S").png' + # Notifications + bindsym --to-code $mod+m exec 'makoctl dismiss -a' + bindsym --to-code $mod+Shift+m exec 'makoctl restore' + # Check mail + bindsym --to-code $mod+n exec 'systemctl --user start mbsync.service' + + +# +# Moving around: +# + # Move your focus around + bindsym --to-code $mod+$left focus left + bindsym --to-code $mod+$down focus down + bindsym --to-code $mod+$up focus up + bindsym --to-code $mod+$right focus right + # Or use $mod+[up|down|left|right] + bindsym --to-code $mod+Left focus left + bindsym --to-code $mod+Down focus down + bindsym --to-code $mod+Up focus up + bindsym --to-code $mod+Right focus right + + # Move the focused window with the same, but add Shift + bindsym --to-code $mod+Shift+$left move left + bindsym --to-code $mod+Shift+$down move down + bindsym --to-code $mod+Shift+$up move up + bindsym --to-code $mod+Shift+$right move right + # Ditto, with arrow keys + bindsym --to-code $mod+Shift+Left move left + bindsym --to-code $mod+Shift+Down move down + bindsym --to-code $mod+Shift+Up move up + bindsym --to-code $mod+Shift+Right move right +# +# Workspaces: +# + # define outputs + set $builtin_out eDP-1 + set $home_out DP-8 + # bind workspaces to inputs + workspace 1 output $home_out $builtin_out + workspace 2 output $home_out $builtin_out + workspace 3 output $home_out $builtin_out + workspace 4 output $home_out $builtin_out + workspace 5 output $home_out $builtin_out + workspace 6 output $home_out $builtin_out + workspace 7 output $home_out $builtin_out + workspace 8 output $home_out $builtin_out + workspace 9 output $home_out $builtin_out + workspace 10 output $home_out $builtin_out + workspace 11 output $builtin_out + workspace 12 output $builtin_out + workspace 13 output $builtin_out + workspace 14 output $builtin_out + workspace 15 output $builtin_out + workspace 16 output $builtin_out + workspace 17 output $builtin_out + workspace 18 output $builtin_out + workspace 19 output $builtin_out + workspace 20 output $builtin_out + + # move workspace between inputs + bindsym $mod+Mod1+Left move workspace to output left + bindsym $mod+Mod1+Right move workspace to output right + bindsym $mod+Mod1+Up move workspace to output up + bindsym $mod+Mod1+Down move workspace to output down + # Switch to workspace + bindsym --to-code $mod+1 workspace number 1 + bindsym --to-code $mod+2 workspace number 2 + bindsym --to-code $mod+3 workspace number 3 + bindsym --to-code $mod+4 workspace number 4 + bindsym --to-code $mod+5 workspace number 5 + bindsym --to-code $mod+6 workspace number 6 + bindsym --to-code $mod+7 workspace number 7 + bindsym --to-code $mod+8 workspace number 8 + bindsym --to-code $mod+9 workspace number 9 + bindsym --to-code $mod+0 workspace number 10 + # Move focused container to workspace + bindsym --to-code $mod+Shift+1 move container to workspace number 1 + bindsym --to-code $mod+Shift+2 move container to workspace number 2 + bindsym --to-code $mod+Shift+3 move container to workspace number 3 + bindsym --to-code $mod+Shift+4 move container to workspace number 4 + bindsym --to-code $mod+Shift+5 move container to workspace number 5 + bindsym --to-code $mod+Shift+6 move container to workspace number 6 + bindsym --to-code $mod+Shift+7 move container to workspace number 7 + bindsym --to-code $mod+Shift+8 move container to workspace number 8 + bindsym --to-code $mod+Shift+9 move container to workspace number 9 + bindsym --to-code $mod+Shift+0 move container to workspace number 10 + # Switch to workspace + bindsym --to-code $mod+Mod1+1 workspace number 11 + bindsym --to-code $mod+Mod1+2 workspace number 12 + bindsym --to-code $mod+Mod1+3 workspace number 13 + bindsym --to-code $mod+Mod1+4 workspace number 14 + bindsym --to-code $mod+Mod1+5 workspace number 15 + bindsym --to-code $mod+Mod1+6 workspace number 16 + bindsym --to-code $mod+Mod1+7 workspace number 17 + bindsym --to-code $mod+Mod1+8 workspace number 18 + bindsym --to-code $mod+Mod1+9 workspace number 19 + bindsym --to-code $mod+Mod1+0 workspace number 20 + # Move focused container to workspace + bindsym --to-code $mod+Mod1+Shift+1 move container to workspace number 11 + bindsym --to-code $mod+Mod1+Shift+2 move container to workspace number 12 + bindsym --to-code $mod+Mod1+Shift+3 move container to workspace number 13 + bindsym --to-code $mod+Mod1+Shift+4 move container to workspace number 14 + bindsym --to-code $mod+Mod1+Shift+5 move container to workspace number 15 + bindsym --to-code $mod+Mod1+Shift+6 move container to workspace number 16 + bindsym --to-code $mod+Mod1+Shift+7 move container to workspace number 17 + bindsym --to-code $mod+Mod1+Shift+8 move container to workspace number 18 + bindsym --to-code $mod+Mod1+Shift+9 move container to workspace number 19 + bindsym --to-code $mod+Mod1+Shift+0 move container to workspace number 20 + # Note: workspaces can have any name you want, not just numbers. + # We just use 1-10 as the default. +# +# Layout stuff: +# + # You can "split" the current object of your focus with + # $mod+b or $mod+v, for horizontal and vertical splits + # respectively. + bindsym --to-code $mod+b splith + bindsym --to-code $mod+v splitv + + # Switch the current container between different layout styles + bindsym --to-code $mod+s layout stacking + bindsym --to-code $mod+w layout tabbed + bindsym --to-code $mod+e layout toggle split + + # Make the current focus fullscreen + bindsym --to-code $mod+f fullscreen + + # Toggle the current focus between tiling and floating mode + bindsym --to-code $mod+Shift+space floating toggle + + # Swap focus between the tiling area and the floating area + bindsym --to-code $mod+space focus mode_toggle + + # Move focus to the parent container + bindsym --to-code $mod+a focus parent + bindsym --to-code $mod+Shift+a focus child +# +# Scratchpad: +# + # Sway has a "scratchpad", which is a bag of holding for windows. + # You can send windows there and get them back later. + + # Move the currently focused window to the scratchpad + bindsym --to-code $mod+Shift+minus move scratchpad + + # Show the next scratchpad window or hide the focused scratchpad window. + # If there are multiple scratchpad windows, this command cycles through them. + bindsym --to-code $mod+minus scratchpad show +# +# Resizing containers: +# +mode "resize" { + # left will shrink the containers width + # right will grow the containers width + # up will shrink the containers height + # down will grow the containers height + bindsym --to-code $left resize shrink width 30px + bindsym --to-code $down resize grow height 30px + bindsym --to-code $up resize shrink height 30px + bindsym --to-code $right resize grow width 30px + + # Ditto, with arrow keys + bindsym --to-code Left resize shrink width 10px + bindsym --to-code Down resize grow height 10px + bindsym --to-code Up resize shrink height 10px + bindsym --to-code Right resize grow width 10px + + # Return to default mode + bindsym --to-code Return mode "default" + bindsym --to-code Escape mode "default" +} +bindsym --to-code $mod+r mode "resize" + +## Styling: colors +include colors + +## Window styling +# Border BG Text Indicator Child Border +client.focused $color06 $color06 $color00 $color07 $color06 +#client.focused_inactive $color00 $color00 $color00 $color00 $color00 + +# +# Status Bar: +# +# Read `man 5 sway-bar` for more information about this section. +bar { + position top + font pango:Ttyp0 8 + icon_theme "Adwaita" + status_command /run/current-system/sw/bin/i3status-rs + colors { + background $colorBG + separator $color05 + # statusline $color15 + + # STATE Border BG Text + focused_workspace $color06 $color06 $color00 + } +} + +# default border +default_border pixel 2 +# Set font +font pango:Ttyp0 8 + +# bindsym --to-code $mod+t input type:touchpad toggle + +# Startup applications +exec iwgtk -i +exec blueman-applet +# exec wlsunset -l 52 -L 5 +# exec gammastep-indicator +exec kanshi +# exec udiskie --tray --no-automount + +# window rules +# floating +for_window [app_id="imv"] floating enable; border normal +for_window [app_id="org.twosheds.iwgtk"] floating enable; border normal +for_window [app_id=".blueman-manager-wrapped"] floating enable; border normal +for_window [app_id="com.nextcloud.desktopclient.nextcloud"] floating enable; border normal + +# tabbed containers +for_window [app_id="CubicSDR"] layout tabbed +for_window [app_id="org.wireshark.Wireshark"] layout tabbed + +for_window [app_id="zoom" title="^zoom$"] border none, floating enable +# For specific Zoom windows +for_window [app_id="zoom" title="^(Zoom|About)$"] border pixel, floating enable +for_window [app_id="zoom" title="Settings"] floating enable, floating_minimum_size 960 x 700 +# Open Zoom Meeting windows on a new workspace (a bit hacky) +for_window [app_id="zoom" title="Zoom Meeting(.*)?"] workspace next_on_output --create, move container to workspace current, floating disable, inhibit_idle open +# kill firefox sharing indicator +for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill +# fix picture-in-picture behaviour +for_window [app_id="firefox" title="Picture-in-Picture"] floating enable, sticky enable, border none + +include ./config.d/* +include /etc/sway/config.d/* diff --git a/sway/.config/sway/ibm.jpg b/sway/.config/sway/ibm.jpg new file mode 100644 index 0000000..9177600 Binary files /dev/null and b/sway/.config/sway/ibm.jpg differ diff --git a/sway/.config/sway/lock-fullhd.png b/sway/.config/sway/lock-fullhd.png new file mode 100644 index 0000000..7b6c79c Binary files /dev/null and b/sway/.config/sway/lock-fullhd.png differ diff --git a/sway/.config/sway/lock-wuxga.png b/sway/.config/sway/lock-wuxga.png new file mode 100644 index 0000000..c59533f Binary files /dev/null and b/sway/.config/sway/lock-wuxga.png differ diff --git a/sway/.config/sway/lock.sh b/sway/.config/sway/lock.sh new file mode 100755 index 0000000..a725eb6 --- /dev/null +++ b/sway/.config/sway/lock.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +img="$HOME/Pictures/paper.jpg" + +#grim $img +#gm convert $img -scale 5% -scale 2000% $img +#gm convert $img -blur 0x10 $img +# swaylock -Ffk -i $img -s fill +# swaylock -Ffk -i $HOME/Pictures/tiles/156.png -s tile +swaylock -Ffk -i $HOME/Pictures/tiles/23.png -s tile +# swaylock -Ffk -i $HOME/Pictures/tiles/10.png -s tile + +#rm -f $img diff --git a/sway/.config/sway/moonfly b/sway/.config/sway/moonfly new file mode 100644 index 0000000..c592bac --- /dev/null +++ b/sway/.config/sway/moonfly @@ -0,0 +1,18 @@ +set $colorFG #b2b2b2 +set $colorBG #080808 +set $color00 #323437 +set $color01 #ff5454 +set $color02 #8cc85f +set $color03 #e3c78a +set $color04 #80a0ff +set $color05 #d183e8 +set $color06 #79dac8 +set $color07 #c6c6c6 +set $color10 #949494 +set $color11 #ff5189 +set $color12 #36c692 +set $color13 #c2c292 +set $color14 #74b2ff +set $color15 #ae81ff +set $color16 #85dc85 +set $color17 #e4e4e4 diff --git a/sway/.config/sway/wall.jpg b/sway/.config/sway/wall.jpg new file mode 100644 index 0000000..f5e2997 Binary files /dev/null and b/sway/.config/sway/wall.jpg differ diff --git a/xkb/.xkb/symbols/65-percent-en-us b/xkb/.xkb/symbols/65-percent-en-us new file mode 100644 index 0000000..74ac44e --- /dev/null +++ b/xkb/.xkb/symbols/65-percent-en-us @@ -0,0 +1,6 @@ +default partial alphanumeric_keys +xkb_symbols "basic" { + include "us(basic)" + name[Group1] = "English 65% tilde"; + key {[ Escape, asciitilde ]}; +}; diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc new file mode 100644 index 0000000..ea10740 --- /dev/null +++ b/zathura/.config/zathura/zathurarc @@ -0,0 +1 @@ +set selection-clipboard clipboard