small pixel drawing of a pufferfish dotfiles

remove sway
j3s j3s@c3f.net
Wed, 04 Mar 2020 19:52:43 +0000
commit

b0cc0c05874174d9bf59024e6388635d79d4e9b0

parent

fa9d5183cd70b8cf73dd3bcd91f56484c080ae7b

2 files changed, 0 insertions(+), 239 deletions(-)

jump to
D .config/sway/config

@@ -1,228 +0,0 @@

-# 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 st -# Your preferred application launcher -# Note: it's recommended that you pass the final command to sway -set $menu dmenu_path | dmenu | xargs swaymsg exec -- - -### Output configuration -# -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /home/j3s/pix/lainbakka.jpg fill -# - -# clamshell mode -set $laptop eDP-1 -bindswitch --reload lid:on output $laptop disable -bindswitch --reload lid:off output $laptop enable - -# You can get the names of your outputs by running: swaymsg -t get_outputs - -### Idle configuration -# exec swayidle -w \ -# timeout 700 'swaylock -f -c 000000' \ -# timeout 900 'swaymsg "output * dpms off"' \ -# resume 'swaymsg "output * dpms on"' \ -# before-sleep 'swaylock -f -c 000000' -# This will lock your screen after 700 seconds of inactivity, then turn off -# your displays after another 900 seconds, and turn your screens back on when -# resumed. It will also lock your screen before your computer goes to sleep. - -### Input configuration -input "1133:49979:Logitech_K840_Mechanical_Corded_Keyboard" { - xkb_layout us - xkb_options ctrl:nocaps -} - -input "1452:591:USB_Keychron_K2_USB_DEVICE" { - xkb_layout us - xkb_options ctrl:nocaps -} - -input "1452:597:Keychron_K2" { - xkb_layout us - xkb_options ctrl:nocaps -} - -input "1:1:AT_Translated_Set_2_keyboard" { - xkb_layout us - xkb_options ctrl:nocaps -} - -input "1739:30383:CUST0001:00_06CB:76AF_Touchpad" { - tap enabled - tap_button_map lrm - dwt disabled - click_method clickfinger -} -# -# 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. - -### Key bindings -# -# Basics: -# -# firstly, enable floating for da float class - for_window [class="floatme"] floating enable - - # multimedia - bindsym --locked XF86MonBrightnessUp exec --no-startup-id light -A 10 - bindsym --locked XF86MonBrightnessDown exec --no-startup-id light -U 10 - - # Start a terminal - bindsym $mod+Return exec $term - bindsym $mod+Shift+Return exec $term -c 'floatme' - - # Kill focused window - bindsym $mod+Shift+q kill - - # Start your launcher - bindsym $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 $mod+Shift+c reload - - # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit' -# -# Moving around: -# - # Move your focus around - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right - - # 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: -# - # Switch to workspace - bindsym $mod+1 workspace 1 - bindsym $mod+2 workspace 2 - bindsym $mod+3 workspace 3 - bindsym $mod+4 workspace 4 - bindsym $mod+5 workspace 5 - bindsym $mod+6 workspace 6 - bindsym $mod+7 workspace 7 - 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 1 - bindsym $mod+Shift+2 move container to workspace 2 - bindsym $mod+Shift+3 move container to workspace 3 - bindsym $mod+Shift+4 move container to workspace 4 - bindsym $mod+Shift+5 move container to workspace 5 - bindsym $mod+Shift+6 move container to workspace 6 - bindsym $mod+Shift+7 move container to workspace 7 - 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 - # 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 $mod+b splith - bindsym $mod+v splitv - - # Switch the current container between different layout styles - bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split - - # Make the current focus fullscreen - bindsym $mod+f fullscreen - - # Toggle the current focus between tiling and floating mode - bindsym $mod+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 -# -# 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 $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 $mod+minus scratchpad show -# -# Resizing containers: -# -mode "resize" { - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px - - bindsym Left resize shrink width 10px - bindsym Down resize grow height 10px - bindsym Up resize shrink height 10px - bindsym Right resize grow width 10px - - # Return to default mode - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+r mode "resize" - -# -# Status Bar: -# -# Read `man 5 sway-bar` for more information about this section. -bar { - position top - - status_command while ~/.config/sway/status; do sleep 1; done - - colors { - statusline #ffffff - background #333333 - inactive_workspace #333333 #333333 #ffffff - } -} - -include /etc/sway/config.d/*
D .config/sway/status

@@ -1,11 +0,0 @@

-#!/bin/sh - -date_formatted=$(date "+%a %F %H:%M") - -linux_version=$(uname -r | cut -d '-' -f1) - -battery_status=$(cat /sys/class/power_supply/BAT0/status) - -battery_perc=$(cat /sys/class/power_supply/BAT0/capacity) - -echo "$linux_version | $battery_perc% $battery_status | $date_formatted "