about summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
authorCase Duckworth2024-06-13 21:49:46 -0500
committerCase Duckworth2024-06-13 21:49:46 -0500
commit577ff7f0c4bafe9bf61c22e75156a8b509d75310 (patch)
tree230828bb1627d2bed574b0bbdc2538785d46a1e6 /config
parentAdd user-dirs stuff (diff)
downloaddots-577ff7f0c4bafe9bf61c22e75156a8b509d75310.tar.gz
dots-577ff7f0c4bafe9bf61c22e75156a8b509d75310.zip
Add other programs
Diffstat (limited to 'config')
-rw-r--r--config/i3/config171
-rw-r--r--config/i3status/config34
-rw-r--r--config/keepassxc/keepassxc.ini44
3 files changed, 249 insertions, 0 deletions
diff --git a/config/i3/config b/config/i3/config new file mode 100644 index 0000000..755c46d --- /dev/null +++ b/config/i3/config
@@ -0,0 +1,171 @@
1# i3 config file (v4) -*- compile-command: "i3-msg restart" -*-
2#
3# Please see https://i3wm.org/docs/userguide.html for a complete reference!
4
5set $mod Mod4
6
7# start a terminal
8bindsym $mod+Return exec xterm
9bindsym $mod+e exec run-emacs
10bindsym $mod+b exec firefox
11
12# Font for window titles. Will also be used by the bar unless a different font
13# is used in the bar {} block below.
14font -*-fixed-*-r-*-*-10-*-*-*-*-*-iso10646-*
15
16exec --no-startup-id ~/.xautostart
17
18# Use pactl to adjust volume in PulseAudio.
19set $refresh_i3status killall -SIGUSR1 i3status
20bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
21bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
22bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
23bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
24
25# use brightnessctl to adjust brightness
26bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
27bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
28
29# Use Mouse+$mod to drag floating windows to their wanted position
30floating_modifier $mod
31
32# move tiling windows via drag & drop by left-clicking into the title bar,
33# or left-clicking anywhere into the window while holding the floating modifier.
34tiling_drag modifier titlebar
35
36# kill focused window
37bindsym $mod+q kill
38
39# start dmenu (a program launcher)
40bindsym $mod+space exec --no-startup-id dmenu_run
41
42# change focus
43bindsym $mod+h focus left
44bindsym $mod+j focus down
45bindsym $mod+k focus up
46bindsym $mod+l focus right
47
48# alternatively, you can use the cursor keys:
49bindsym $mod+Left focus left
50bindsym $mod+Down focus down
51bindsym $mod+Up focus up
52bindsym $mod+Right focus right
53
54# move focused window
55bindsym $mod+Shift+h move left
56bindsym $mod+Shift+j move down
57bindsym $mod+Shift+k move up
58bindsym $mod+Shift+l move right
59
60# alternatively, you can use the cursor keys:
61bindsym $mod+Shift+Left move left
62bindsym $mod+Shift+Down move down
63bindsym $mod+Shift+Up move up
64bindsym $mod+Shift+Right move right
65
66# split in horizontal orientation
67bindsym $mod+i split h
68
69# split in vertical orientation
70bindsym $mod+u split v
71
72# enter fullscreen mode for the focused container
73bindsym $mod+f fullscreen toggle
74
75workspace_auto_back_and_forth yes
76workspace_layout stacking
77hide_edge_borders smart_no_gaps
78smart_borders on
79# change container layout (stacked, tabbed, toggle split)
80bindsym $mod+minus layout toggle stacking tabbed
81bindsym $mod+equal layout toggle split
82
83# toggle tiling / floating
84bindsym $mod+Shift+space floating toggle
85
86# change focus between tiling / floating windows
87bindsym $mod+Control+space focus mode_toggle
88
89# focus the parent container
90bindsym $mod+a focus parent
91
92# focus the child container
93bindsym $mod+d focus child
94
95# Define names for default workspaces for which we configure key bindings later
96# on. We use variables to avoid repeating the names in multiple places.
97set $ws1 "1"
98set $ws2 "2"
99set $ws3 "3"
100set $ws4 "4"
101set $ws5 "5"
102set $ws6 "6"
103set $ws7 "7"
104set $ws8 "8"
105set $ws9 "9"
106
107# switch to workspace
108bindsym $mod+1 workspace number $ws1
109bindsym $mod+2 workspace number $ws2
110bindsym $mod+3 workspace number $ws3
111bindsym $mod+4 workspace number $ws4
112bindsym $mod+5 workspace number $ws5
113bindsym $mod+6 workspace number $ws6
114bindsym $mod+7 workspace number $ws7
115bindsym $mod+8 workspace number $ws8
116bindsym $mod+9 workspace number $ws9
117
118# move focused container to workspace
119bindsym $mod+Shift+1 move container to workspace number $ws1
120bindsym $mod+Shift+2 move container to workspace number $ws2
121bindsym $mod+Shift+3 move container to workspace number $ws3
122bindsym $mod+Shift+4 move container to workspace number $ws4
123bindsym $mod+Shift+5 move container to workspace number $ws5
124bindsym $mod+Shift+6 move container to workspace number $ws6
125bindsym $mod+Shift+7 move container to workspace number $ws7
126bindsym $mod+Shift+8 move container to workspace number $ws8
127bindsym $mod+Shift+9 move container to workspace number $ws9
128
129# scratchpad!
130bindsym $mod+Shift+grave move scratchpad
131bindsym $mod+grave scratchpad show
132
133# reload the configuration file
134bindsym $mod+Shift+c reload
135# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
136bindsym $mod+Shift+r restart
137# exit i3 (logs you out of your X session)
138bindsym $mod+Shift+q exit
139
140# resize window (you can also use the mouse for that)
141mode "resize" {
142 # These bindings trigger as soon as you enter the resize mode
143
144 # Pressing left will shrink the window’s width.
145 # Pressing right will grow the window’s width.
146 # Pressing up will shrink the window’s height.
147 # Pressing down will grow the window’s height.
148 bindsym j resize shrink width 10 px or 10 ppt
149 bindsym k resize grow height 10 px or 10 ppt
150 bindsym l resize shrink height 10 px or 10 ppt
151 bindsym semicolon resize grow width 10 px or 10 ppt
152
153 # same bindings, but for the arrow keys
154 bindsym Left resize shrink width 10 px or 10 ppt
155 bindsym Down resize grow height 10 px or 10 ppt
156 bindsym Up resize shrink height 10 px or 10 ppt
157 bindsym Right resize grow width 10 px or 10 ppt
158
159 # back to normal: Enter or Escape or $mod+r
160 bindsym Return mode "default"
161 bindsym Escape mode "default"
162 bindsym $mod+r mode "default"
163}
164
165bindsym $mod+r mode "resize"
166
167# Start i3bar to display a workspace bar (plus the system information i3status
168# finds out, if available)
169bar {
170 status_command i3status
171}
diff --git a/config/i3status/config b/config/i3status/config new file mode 100644 index 0000000..e59aeb6 --- /dev/null +++ b/config/i3status/config
@@ -0,0 +1,34 @@
1# i3status config
2
3general {
4 output_format = "i3bar"
5}
6
7order += "volume master"
8order += "wireless wlan0"
9order += "battery all"
10order += "cpu_usage"
11order += "time"
12
13volume "master" {
14 device = "default"
15 mixer = "Master"
16}
17
18wireless "wlan0" {
19 format_up = "%essid %quality"
20 format_down = "[no wifi]"
21}
22
23battery "all" {
24 format = "%status %percentage (%remaining)"
25 format_down = "[no battery]"
26}
27
28cpu_usage {
29 format = "CPU %usage"
30}
31
32time {
33 format = "%e %a %H:%M"
34} \ No newline at end of file
diff --git a/config/keepassxc/keepassxc.ini b/config/keepassxc/keepassxc.ini new file mode 100644 index 0000000..a7a87a3 --- /dev/null +++ b/config/keepassxc/keepassxc.ini
@@ -0,0 +1,44 @@
1[General]
2BackupBeforeSave=true
3ConfigVersion=2
4DropToBackgroundOnCopy=true
5FaviconDownloadTimeout=1
6HideWindowOnCopy=true
7MinimizeAfterUnlock=false
8MinimizeOnCopy=false
9MinimizeOnOpenUrl=true
10UseAtomicSaves=false
11
12[Browser]
13AllowExpiredCredentials=true
14CustomProxyLocation=
15Enabled=true
16MatchUrlScheme=false
17
18[FdoSecrets]
19Enabled=false
20
21[GUI]
22CompactMode=true
23MinimizeOnClose=true
24MinimizeOnStartup=true
25MinimizeToTray=true
26MonospaceNotes=true
27ShowTrayIcon=true
28TrayIconAppearance=colorful
29
30[PasswordGenerator]
31AdditionalChars=
32ExcludedChars=
33Length=32
34SpecialChars=false
35
36[SSHAgent]
37Enabled=true
38
39[Security]
40ClearSearch=true
41EnableCopyOnDoubleClick=true
42IconDownloadFallback=true
43PasswordEmptyPlaceholder=true
44Security_HideNotes=true