my dotz
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Change config dramatically

j3s f57c9859 2bc9ce05

+234 -10
+223
.config/sway/config
··· 1 + # Default config for sway 2 + # 3 + # Copy this to ~/.config/sway/config and edit it to your liking. 4 + # 5 + # Read `man 5 sway` for a complete reference. 6 + 7 + ### Variables 8 + # 9 + # Logo key. Use Mod1 for Alt. 10 + set $mod Mod4 11 + # Home row direction keys, like vim 12 + set $left h 13 + set $down j 14 + set $up k 15 + set $right l 16 + # Your preferred terminal emulator 17 + set $term alacritty 18 + # Your preferred application launcher 19 + # Note: pass the final command to swaymsg so that the resulting window can be opened 20 + # on the original workspace that the command was run on. 21 + set $menu dmenu_path | dmenu | xargs swaymsg exec -- 22 + 23 + ### Output configuration 24 + # 25 + # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) 26 + output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill 27 + # 28 + # Example configuration: 29 + # 30 + # output HDMI-A-1 resolution 1920x1080 position 1920,0 31 + # 32 + # You can get the names of your outputs by running: swaymsg -t get_outputs 33 + output DP-1 disable 34 + 35 + ### Idle configuration 36 + # 37 + # Example configuration: 38 + # 39 + # exec swayidle -w \ 40 + # timeout 300 'swaylock -f -c 000000' \ 41 + # timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \ 42 + # before-sleep 'swaylock -f -c 000000' 43 + # 44 + # This will lock your screen after 300 seconds of inactivity, then turn off 45 + # your displays after another 300 seconds, and turn your screens back on when 46 + # resumed. It will also lock your screen before your computer goes to sleep. 47 + 48 + ### Input configuration 49 + # 50 + # Example configuration: 51 + # 52 + # input "2:14:SynPS/2_Synaptics_TouchPad" { 53 + # dwt enabled 54 + # tap enabled 55 + # natural_scroll enabled 56 + # middle_emulation enabled 57 + # } 58 + # 59 + # You can get the names of your inputs by running: swaymsg -t get_inputs 60 + # Read `man 5 sway-input` for more information about this section. 61 + 62 + input "type:keyboard" { 63 + xkb_layout us 64 + xkb_options ctrl:nocaps 65 + } 66 + 67 + ### Key bindings 68 + # 69 + # Basics: 70 + # 71 + # Start a terminal 72 + bindsym $mod+Return exec $term 73 + 74 + # Kill focused window 75 + bindsym $mod+Shift+q kill 76 + 77 + # Start your launcher 78 + bindsym $mod+d exec $menu 79 + 80 + # Drag floating windows by holding down $mod and left mouse button. 81 + # Resize them with right mouse button + $mod. 82 + # Despite the name, also works for non-floating windows. 83 + # Change normal to inverse to use left mouse button for resizing and right 84 + # mouse button for dragging. 85 + floating_modifier $mod normal 86 + 87 + # Reload the configuration file 88 + bindsym $mod+Shift+c reload 89 + 90 + # Exit sway (logs you out of your Wayland session) 91 + 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' 92 + # 93 + # Moving around: 94 + # 95 + # Move your focus around 96 + bindsym $mod+$left focus left 97 + bindsym $mod+$down focus down 98 + bindsym $mod+$up focus up 99 + bindsym $mod+$right focus right 100 + # Or use $mod+[up|down|left|right] 101 + bindsym $mod+Left focus left 102 + bindsym $mod+Down focus down 103 + bindsym $mod+Up focus up 104 + bindsym $mod+Right focus right 105 + 106 + # Move the focused window with the same, but add Shift 107 + bindsym $mod+Shift+$left move left 108 + bindsym $mod+Shift+$down move down 109 + bindsym $mod+Shift+$up move up 110 + bindsym $mod+Shift+$right move right 111 + # Ditto, with arrow keys 112 + bindsym $mod+Shift+Left move left 113 + bindsym $mod+Shift+Down move down 114 + bindsym $mod+Shift+Up move up 115 + bindsym $mod+Shift+Right move right 116 + # 117 + # Workspaces: 118 + # 119 + # Switch to workspace 120 + bindsym $mod+1 workspace number 1 121 + bindsym $mod+2 workspace number 2 122 + bindsym $mod+3 workspace number 3 123 + bindsym $mod+4 workspace number 4 124 + bindsym $mod+5 workspace number 5 125 + bindsym $mod+6 workspace number 6 126 + bindsym $mod+7 workspace number 7 127 + bindsym $mod+8 workspace number 8 128 + bindsym $mod+9 workspace number 9 129 + bindsym $mod+0 workspace number 10 130 + # Move focused container to workspace 131 + bindsym $mod+Shift+1 move container to workspace number 1 132 + bindsym $mod+Shift+2 move container to workspace number 2 133 + bindsym $mod+Shift+3 move container to workspace number 3 134 + bindsym $mod+Shift+4 move container to workspace number 4 135 + bindsym $mod+Shift+5 move container to workspace number 5 136 + bindsym $mod+Shift+6 move container to workspace number 6 137 + bindsym $mod+Shift+7 move container to workspace number 7 138 + bindsym $mod+Shift+8 move container to workspace number 8 139 + bindsym $mod+Shift+9 move container to workspace number 9 140 + bindsym $mod+Shift+0 move container to workspace number 10 141 + # Note: workspaces can have any name you want, not just numbers. 142 + # We just use 1-10 as the default. 143 + # 144 + # Layout stuff: 145 + # 146 + # You can "split" the current object of your focus with 147 + # $mod+b or $mod+v, for horizontal and vertical splits 148 + # respectively. 149 + bindsym $mod+b splith 150 + bindsym $mod+v splitv 151 + 152 + # Switch the current container between different layout styles 153 + # bindsym $mod+s layout stacking 154 + # bindsym $mod+w layout tabbed 155 + # bindsym $mod+e layout toggle split 156 + 157 + # Make the current focus fullscreen 158 + bindsym $mod+f fullscreen 159 + 160 + # Toggle the current focus between tiling and floating mode 161 + bindsym $mod+Shift+space floating toggle 162 + 163 + # Swap focus between the tiling area and the floating area 164 + bindsym $mod+space focus mode_toggle 165 + 166 + # Move focus to the parent container 167 + # bindsym $mod+a focus parent 168 + # 169 + # Scratchpad: 170 + # 171 + # Sway has a "scratchpad", which is a bag of holding for windows. 172 + # You can send windows there and get them back later. 173 + 174 + # Move the currently focused window to the scratchpad 175 + bindsym $mod+Shift+minus move scratchpad 176 + 177 + # Show the next scratchpad window or hide the focused scratchpad window. 178 + # If there are multiple scratchpad windows, this command cycles through them. 179 + bindsym $mod+minus scratchpad show 180 + # 181 + # Resizing containers: 182 + # 183 + mode "resize" { 184 + # left will shrink the containers width 185 + # right will grow the containers width 186 + # up will shrink the containers height 187 + # down will grow the containers height 188 + bindsym $left resize shrink width 10px 189 + bindsym $down resize grow height 10px 190 + bindsym $up resize shrink height 10px 191 + bindsym $right resize grow width 10px 192 + 193 + # Ditto, with arrow keys 194 + bindsym Left resize shrink width 10px 195 + bindsym Down resize grow height 10px 196 + bindsym Up resize shrink height 10px 197 + bindsym Right resize grow width 10px 198 + 199 + # Return to default mode 200 + bindsym Return mode "default" 201 + bindsym Escape mode "default" 202 + } 203 + bindsym $mod+r mode "resize" 204 + 205 + # 206 + # Status Bar: 207 + # 208 + # Read `man 5 sway-bar` for more information about this section. 209 + bar { 210 + position top 211 + 212 + # When the status_command prints a new line to stdout, swaybar updates. 213 + # The default just shows the current date and time. 214 + status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done 215 + 216 + colors { 217 + statusline #ffffff 218 + background #323232 219 + inactive_workspace #32323200 #32323200 #5c5c5c 220 + } 221 + } 222 + 223 + include /etc/sway/config.d/*
+1 -5
.profile
··· 1 - export ENV=~/.shinit 2 - 3 - export PATH="$HOME/bin:$PATH" 4 - alias startx='ssh-agent startx' 5 - 1 + export PATH="$HOME/bin/$(hostname):$HOME/bin:$PATH" 6 2 export ENV=~/.shinit
+7 -4
.shinit
··· 1 1 #!/bin/sh 2 2 3 - paleta -r 3 + if test -z "${XDG_RUNTIME_DIR}"; then 4 + export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir 5 + if ! test -d "${XDG_RUNTIME_DIR}"; then 6 + mkdir "${XDG_RUNTIME_DIR}" 7 + chmod 0700 "${XDG_RUNTIME_DIR}" 8 + fi 9 + fi 4 10 5 11 export EDITOR=vim 6 12 export PS1='$(short-pwd)$ ' 7 - export PATH="$HOME/bin/$(hostname):$HOME/bin:$PATH" 8 13 export HISTFILESIZE=10000 9 14 10 15 export PASH_KEYID=j3s@c3f.net 11 16 export PASH_DIR="$HOME/.password-store" 12 17 13 18 # general 14 - alias startx='ssh-agent startx' 15 19 alias vi=vim 16 - alias ls='CLICOLOR=1 ls' 17 20 alias gj='git add . ; git commit -m "*" ; git push' 18 21 19 22 # mksh
+3 -1
.xinitrc
··· 2 2 3 3 bud ~/Pictures/wallpapers 4 4 setxkbmap -layout us -option ctrl:nocaps 5 - exec sowm 5 + #exec sowm 6 + #exec spectrwm 6 7 #exec fluxbox 8 + exec sway