-
-
Save anonymous/1fa336e9eb22bf68816246a746f22115 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# general | |
set $mod Mod4 | |
font pango:Iosevka Slab Bold 10 | |
floating_modifier $mod | |
new_window pixel 4 | |
hide_edge_borders none | |
workspace_layout tabbed | |
# colors | |
client.focused #000000 #6095c5 #232323 | |
client.unfocused #000000 #232323 #a0a0a0 | |
client.urgent #000000 #d370a3 #232323 | |
# general key bindings | |
bindsym $mod+shift+q restart | |
bindsym $mod+ctrl+q exec "i3-msg exit" | |
bindsym $mod+k kill | |
bindsym $mod+shift+r exec rofi-run | |
bindsym $mod+Left focus left | |
bindsym $mod+Down focus down | |
bindsym $mod+Up focus up | |
bindsym $mod+Right focus right | |
bindsym $mod+shift+Left move left | |
bindsym $mod+shift+Down move down | |
bindsym $mod+shift+Up move up | |
bindsym $mod+shift+Right move right | |
bindsym $mod+r exec rofi -modi run -show run | |
bindsym $mod+h split h | |
bindsym $mod+v split v | |
bindsym $mod+f fullscreen toggle | |
bindsym $mod+s layout stacking | |
bindsym $mod+w layout tabbed | |
bindsym $mod+e layout toggle split | |
bindsym $mod+space floating toggle | |
bindsym $mod+ctrl+Up focus parent | |
bindsym $mod+ctrl+Down focus child | |
bindsym $mod+b exec rofi-bookmarks | |
bindsym $mod+p exec rofi-pass | |
bindsym $mod+ctrl+c reload | |
bindsym $mod+shift+minus move scratchpad | |
bindsym $mod+minus scratchpad show | |
# workspace key bindings | |
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 | |
bindsym $mod+1 workspace 1:$ws1 | |
bindsym $mod+2 workspace 2:$ws2 | |
bindsym $mod+3 workspace 3:$ws3 | |
bindsym $mod+4 workspace 4:$ws4 | |
bindsym $mod+5 workspace 5:$ws5 | |
bindsym $mod+6 workspace 6:$ws6 | |
bindsym $mod+7 workspace 7:$ws7 | |
bindsym $mod+8 workspace 8:$ws8 | |
bindsym $mod+9 workspace 9:$ws9 | |
bindsym $mod+shift+1 move container to workspace 1:$ws1 | |
bindsym $mod+shift+2 move container to workspace 2:$ws2 | |
bindsym $mod+shift+3 move container to workspace 3:$ws3 | |
bindsym $mod+shift+4 move container to workspace 4:$ws4 | |
bindsym $mod+shift+5 move container to workspace 5:$ws5 | |
bindsym $mod+shift+6 move container to workspace 6:$ws6 | |
bindsym $mod+shift+7 move container to workspace 7:$ws7 | |
bindsym $mod+shift+8 move container to workspace 8:$ws8 | |
bindsym $mod+shift+9 move container to workspace 9:$ws9 | |
workspace_auto_back_and_forth yes | |
bindsym $mod+z workspace back_and_forth | |
bindsym $mod+shift+z move container to workspace back_and_forth; workspace back_and_forth | |
# resize containers | |
mode "resize" { | |
bindcode 113 resize shrink width 1 px | |
bindcode 116 resize grow height 1 px | |
bindcode 111 resize shrink height 1 px | |
bindcode 114 resize grow width 1 px | |
bindcode 36 mode "default" | |
bindcode 9 mode "default" | |
} | |
bindsym $mod+ctrl+r mode "resize" | |
# application startup key bindings | |
bindsym $mod+Return exec termite | |
bindsym $mod+Print exec --no-startup-id teiler --screenshot | |
bindsym XF86AudioRaiseVolume exec amixer sset Master 5%+ | |
bindsym XF86AudioLowerVolume exec amixer sset Master 5%- | |
bindsym XF86AudioMute exec amixer sset Master toggle | |
bindsym XF86AudioPrev exec mpc prev | |
bindsym XF86AudioNext exec mpc next | |
bindsym XF86AudioPlay exec mpc toggle | |
bindsym XF86AudioStop exec mpc stop | |
bar { | |
font pango:Iosevka 10 | |
strip_workspace_numbers yes | |
status_command i3status | |
colors { | |
statusline #6095c5 | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env nix-shell | |
#! nix-shell --pure -i bash -p bashInteractive rofi pass xclip | |
shopt -s nullglob globstar | |
password_files=(~/.data/pass/**/*.gpg) | |
password_files=("${password_files[@]##*/.data/pass/}") | |
password_files=("${password_files[@]%.gpg}") | |
password=$(printf '%s\n' "${password_files[@]}" | rofi -dmenu -p "Search password: " "$@") | |
env > /tmp/vars | |
echo $XDG_DATA_HOME | |
PASSWORD_STORE_DIR=$XDG_DATA_HOME/pass PASSWORD_STORE_X_SELECTION=clipboard pass -c "$password" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment