From 49136ea0dfc6624c89efd776ff69b20ec66290fe Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 8 Mar 2021 12:30:13 +0100 Subject: [PATCH] Remove unused files --- config/sway/conf.d/morty.config | 18 --- config/sway/conf.d/morty/morty.config | 18 --- config/sway/conf.d/morty/rick.config | 33 ----- config/sway/conf.d/rick.config | 29 ----- config/sway/conf.d/rick/rick.config | 0 config/sway/config | 178 +------------------------- 6 files changed, 3 insertions(+), 273 deletions(-) delete mode 100644 config/sway/conf.d/morty.config delete mode 100644 config/sway/conf.d/morty/morty.config delete mode 100644 config/sway/conf.d/morty/rick.config delete mode 100644 config/sway/conf.d/rick.config delete mode 100644 config/sway/conf.d/rick/rick.config diff --git a/config/sway/conf.d/morty.config b/config/sway/conf.d/morty.config deleted file mode 100644 index be95b08..0000000 --- a/config/sway/conf.d/morty.config +++ /dev/null @@ -1,18 +0,0 @@ -set $term termite -set $menu exec $term --name=launcher -e launcher.sh -set $lock_bg ~/documents/ressources/wallpapers/morty.jpg - -# Input configuration -input * xkb_layout "us" -input * xkb_variant "altgr-intl" - -output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill - -# autostart -# --------- - -exec swayidle \ - timeout 300 'swaylock -i $lock_bg' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -i $lock_bg' diff --git a/config/sway/conf.d/morty/morty.config b/config/sway/conf.d/morty/morty.config deleted file mode 100644 index be95b08..0000000 --- a/config/sway/conf.d/morty/morty.config +++ /dev/null @@ -1,18 +0,0 @@ -set $term termite -set $menu exec $term --name=launcher -e launcher.sh -set $lock_bg ~/documents/ressources/wallpapers/morty.jpg - -# Input configuration -input * xkb_layout "us" -input * xkb_variant "altgr-intl" - -output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill - -# autostart -# --------- - -exec swayidle \ - timeout 300 'swaylock -i $lock_bg' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -i $lock_bg' diff --git a/config/sway/conf.d/morty/rick.config b/config/sway/conf.d/morty/rick.config deleted file mode 100644 index a65d823..0000000 --- a/config/sway/conf.d/morty/rick.config +++ /dev/null @@ -1,33 +0,0 @@ -set $term kitty -set $menu exec $term --class=launcher ~/.local/bin/launcher.sh -set $lock_bg ~/documents/ressources/wallpapers/morty.jpg - -# Input configuration -input * xkb_layout "us" -input * xkb_variant "altgr-intl" - -# Workspace and Windows -for_window [app_id="cal"] resize set height 240px -for_window [app_id="pavucontrol"] floating enable, resize set 600px 400px - -# Brightness -bindsym XF86MonBrightnessDown exec brightnessctl set 2%- -bindsym XF86MonBrightnessUp exec brightnessctl set 2%+ - -output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill -output eDP-1 scale 2 - -exec swayidle \ - timeout 300 'swaylock -i $lock_bg' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -i $lock_bg' - -# Autolaunch -for_window [app_id="cal"] resize set height 240 px - -# $ws3 firefox -exec swaymsg 'workspace $ws3; exec firefox' - -# launch mail workspace -exec ~/.local/bin/launch_mail_worksplace.sh diff --git a/config/sway/conf.d/rick.config b/config/sway/conf.d/rick.config deleted file mode 100644 index 3511213..0000000 --- a/config/sway/conf.d/rick.config +++ /dev/null @@ -1,29 +0,0 @@ -set $term kitty -set $menu exec $term --class=launcher ~/.local/bin/launcher.sh -set $lock_bg ~/documents/ressources/wallpapers/morty.jpg - -# Input configuration -input * xkb_layout "us" -input * xkb_variant "altgr-intl" - -# Brightness -bindsym XF86MonBrightnessDown exec brightnessctl set 2%- -bindsym XF86MonBrightnessUp exec brightnessctl set 2%+ - -output * bg ~/documents/ressources/wallpapers/building_cyberpunk.jpg fill -output eDP-1 scale 2 - -exec swayidle \ - timeout 300 'swaylock -i $lock_bg' \ - timeout 600 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -i $lock_bg' - -# Autolaunch -for_window [app_id="cal"] resize set height 240 px - -# $ws3 firefox -exec swaymsg 'workspace $ws3; exec firefox' - -# launch mail workspace -exec ~/.local/bin/launch_mail_worksplace.sh diff --git a/config/sway/conf.d/rick/rick.config b/config/sway/conf.d/rick/rick.config deleted file mode 100644 index e69de29..0000000 diff --git a/config/sway/config b/config/sway/config index 993bcb5..89ef5ea 100644 --- a/config/sway/config +++ b/config/sway/config @@ -4,184 +4,12 @@ set $down j set $up k set $right l - -gaps inner 5 - - -# i3 basic operation (reload, menu, menu etc.) -bindsym $mod+Shift+c reload -bindsym $mod+Shift+e exit -bindsym $mod+Return exec $term -bindsym $mod+d exec $menu -bindsym $mod+Alt+l exec swaylock -i $lock_bg - -# kill focused window -bindsym $mod+Shift+q kill - -# -# Moving around: -# -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right - -# or use $mod+[up|down|left|right] -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# move the focused window with the same, but add Shift -bindsym $mod+Shift+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -# ditto, with arrow keys -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - - -# Workspaces: -# ----------- -set $ws1 1:  -set $ws2 2:  -set $ws3 3:  -set $ws4 4:  -set $ws5 5:  -set $ws6 6:  -set $ws7 7:  - -assign [app_id="^firefox$"] $ws3 -assign [app_id="KeePassXC$"] $ws3 -assign [app_id="org.remmina.*"] $ws5 -assign [app_id="homebank"] $ws6 -assign [app_id="org.inkscape.Inkscape"] $ws7 -assign [app_id="^libreoffice-*"] $ws6 -assign [class="Gimp"] $ws7 - -for_window [app_id="cal"] resize set height 240px -for_window [app_id="pavucontrol"] floating enable, resize set 600px 400px - -# Manage float windows -for_window [app_id="imv"] floating enable -for_window [app_id="org.pwmt.zathura"] floating enable -for_window [app_id="^launcher$"] floating enable, resize set 800px 400px -for_window [title="Remmina Remote Desktop Client"] floating enable - -# 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 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 - -# 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 8 -bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace 10 - -# Layout stuff -# ----------- - -#split -bindsym $mod+b splith -bindsym $mod+v splitv - -# layout -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -bindsym $mod+f fullscreen - -# Toggle floating mode -bindsym $mod+Shift+space floating toggle - -# Swap focus between the tiling area and the floating area -bindsym $mod+space focus mode_toggle - -# move focus to the parent container -bindsym $mod+a focus parent - -# move to scratchpad -bindsym $mod+Shift+p move scratchpad -bindsym $mod+p scratchpad show - -# Media keys -# ---------- - -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume $(pacmd list-sinks |awk '/* index:/{print $3}') -5% -bindsym XF86AudioMute exec pactl set-sink-mute $(pacmd list-sinks |awk '/* index:/{print $3}') toggle - -# More resize -# ----------- - -bindsym $mod+r mode "resize" -mode "resize" { - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt - -# ditto, with arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - -# return to default mode - bindsym Return mode "default" - bindsym Escape mode "default" -} - -# Workspaces -# ---------- - - -# Appareance -# ---------- - -font pango:FuraCode Nerd Font Mono 10 -default_border pixel 1 -default_floating_border pixel 1 -title_align center -client.focused #f268b3 #a82d70 #ffffff #f268b3 #f268b3 -client.unfocused #000000 #4d3d46 #cccccc #000000 #000000 - # Status Bar: bar { swaybar_command waybar } +# Include configurations +Include ~/.config/sway/conf.d/* # Include configuration by hostname -include ~/.config/sway/conf.d/`hostname`.config - -# Automatic startup -# ----------------- -exec_always import-gsettings.sh \ - icon-theme:gtk-icon-theme-name \ - cursor-theme:gtk-cursor-theme-name \ - gtk-theme:gtk-theme-name \ - font-name:gtk-font-name - -# Notifications -#-------------- -exec mako -bindsym $mod+n exec makoctl dismiss +include ~/.config/sway/conf.d/`hostname`/*.config