diff options
author | Case Duckworth | 2024-06-13 21:49:46 -0500 |
---|---|---|
committer | Case Duckworth | 2024-06-13 21:49:46 -0500 |
commit | 577ff7f0c4bafe9bf61c22e75156a8b509d75310 (patch) | |
tree | 230828bb1627d2bed574b0bbdc2538785d46a1e6 /config | |
parent | Add user-dirs stuff (diff) | |
download | dots-577ff7f0c4bafe9bf61c22e75156a8b509d75310.tar.gz dots-577ff7f0c4bafe9bf61c22e75156a8b509d75310.zip |
Add other programs
Diffstat (limited to 'config')
-rw-r--r-- | config/i3/config | 171 | ||||
-rw-r--r-- | config/i3status/config | 34 | ||||
-rw-r--r-- | config/keepassxc/keepassxc.ini | 44 |
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 | |||
5 | set $mod Mod4 | ||
6 | |||
7 | # start a terminal | ||
8 | bindsym $mod+Return exec xterm | ||
9 | bindsym $mod+e exec run-emacs | ||
10 | bindsym $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. | ||
14 | font -*-fixed-*-r-*-*-10-*-*-*-*-*-iso10646-* | ||
15 | |||
16 | exec --no-startup-id ~/.xautostart | ||
17 | |||
18 | # Use pactl to adjust volume in PulseAudio. | ||
19 | set $refresh_i3status killall -SIGUSR1 i3status | ||
20 | bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status | ||
21 | bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status | ||
22 | bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status | ||
23 | bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status | ||
24 | |||
25 | # use brightnessctl to adjust brightness | ||
26 | bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%- | ||
27 | bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5% | ||
28 | |||
29 | # Use Mouse+$mod to drag floating windows to their wanted position | ||
30 | floating_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. | ||
34 | tiling_drag modifier titlebar | ||
35 | |||
36 | # kill focused window | ||
37 | bindsym $mod+q kill | ||
38 | |||
39 | # start dmenu (a program launcher) | ||
40 | bindsym $mod+space exec --no-startup-id dmenu_run | ||
41 | |||
42 | # change focus | ||
43 | bindsym $mod+h focus left | ||
44 | bindsym $mod+j focus down | ||
45 | bindsym $mod+k focus up | ||
46 | bindsym $mod+l focus right | ||
47 | |||
48 | # alternatively, you can use the cursor keys: | ||
49 | bindsym $mod+Left focus left | ||
50 | bindsym $mod+Down focus down | ||
51 | bindsym $mod+Up focus up | ||
52 | bindsym $mod+Right focus right | ||
53 | |||
54 | # move focused window | ||
55 | bindsym $mod+Shift+h move left | ||
56 | bindsym $mod+Shift+j move down | ||
57 | bindsym $mod+Shift+k move up | ||
58 | bindsym $mod+Shift+l move right | ||
59 | |||
60 | # alternatively, you can use the cursor keys: | ||
61 | bindsym $mod+Shift+Left move left | ||
62 | bindsym $mod+Shift+Down move down | ||
63 | bindsym $mod+Shift+Up move up | ||
64 | bindsym $mod+Shift+Right move right | ||
65 | |||
66 | # split in horizontal orientation | ||
67 | bindsym $mod+i split h | ||
68 | |||
69 | # split in vertical orientation | ||
70 | bindsym $mod+u split v | ||
71 | |||
72 | # enter fullscreen mode for the focused container | ||
73 | bindsym $mod+f fullscreen toggle | ||
74 | |||
75 | workspace_auto_back_and_forth yes | ||
76 | workspace_layout stacking | ||
77 | hide_edge_borders smart_no_gaps | ||
78 | smart_borders on | ||
79 | # change container layout (stacked, tabbed, toggle split) | ||
80 | bindsym $mod+minus layout toggle stacking tabbed | ||
81 | bindsym $mod+equal layout toggle split | ||
82 | |||
83 | # toggle tiling / floating | ||
84 | bindsym $mod+Shift+space floating toggle | ||
85 | |||
86 | # change focus between tiling / floating windows | ||
87 | bindsym $mod+Control+space focus mode_toggle | ||
88 | |||
89 | # focus the parent container | ||
90 | bindsym $mod+a focus parent | ||
91 | |||
92 | # focus the child container | ||
93 | bindsym $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. | ||
97 | set $ws1 "1" | ||
98 | set $ws2 "2" | ||
99 | set $ws3 "3" | ||
100 | set $ws4 "4" | ||
101 | set $ws5 "5" | ||
102 | set $ws6 "6" | ||
103 | set $ws7 "7" | ||
104 | set $ws8 "8" | ||
105 | set $ws9 "9" | ||
106 | |||
107 | # switch to workspace | ||
108 | bindsym $mod+1 workspace number $ws1 | ||
109 | bindsym $mod+2 workspace number $ws2 | ||
110 | bindsym $mod+3 workspace number $ws3 | ||
111 | bindsym $mod+4 workspace number $ws4 | ||
112 | bindsym $mod+5 workspace number $ws5 | ||
113 | bindsym $mod+6 workspace number $ws6 | ||
114 | bindsym $mod+7 workspace number $ws7 | ||
115 | bindsym $mod+8 workspace number $ws8 | ||
116 | bindsym $mod+9 workspace number $ws9 | ||
117 | |||
118 | # move focused container to workspace | ||
119 | bindsym $mod+Shift+1 move container to workspace number $ws1 | ||
120 | bindsym $mod+Shift+2 move container to workspace number $ws2 | ||
121 | bindsym $mod+Shift+3 move container to workspace number $ws3 | ||
122 | bindsym $mod+Shift+4 move container to workspace number $ws4 | ||
123 | bindsym $mod+Shift+5 move container to workspace number $ws5 | ||
124 | bindsym $mod+Shift+6 move container to workspace number $ws6 | ||
125 | bindsym $mod+Shift+7 move container to workspace number $ws7 | ||
126 | bindsym $mod+Shift+8 move container to workspace number $ws8 | ||
127 | bindsym $mod+Shift+9 move container to workspace number $ws9 | ||
128 | |||
129 | # scratchpad! | ||
130 | bindsym $mod+Shift+grave move scratchpad | ||
131 | bindsym $mod+grave scratchpad show | ||
132 | |||
133 | # reload the configuration file | ||
134 | bindsym $mod+Shift+c reload | ||
135 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
136 | bindsym $mod+Shift+r restart | ||
137 | # exit i3 (logs you out of your X session) | ||
138 | bindsym $mod+Shift+q exit | ||
139 | |||
140 | # resize window (you can also use the mouse for that) | ||
141 | mode "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 | |||
165 | bindsym $mod+r mode "resize" | ||
166 | |||
167 | # Start i3bar to display a workspace bar (plus the system information i3status | ||
168 | # finds out, if available) | ||
169 | bar { | ||
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 | |||
3 | general { | ||
4 | output_format = "i3bar" | ||
5 | } | ||
6 | |||
7 | order += "volume master" | ||
8 | order += "wireless wlan0" | ||
9 | order += "battery all" | ||
10 | order += "cpu_usage" | ||
11 | order += "time" | ||
12 | |||
13 | volume "master" { | ||
14 | device = "default" | ||
15 | mixer = "Master" | ||
16 | } | ||
17 | |||
18 | wireless "wlan0" { | ||
19 | format_up = "%essid %quality" | ||
20 | format_down = "[no wifi]" | ||
21 | } | ||
22 | |||
23 | battery "all" { | ||
24 | format = "%status %percentage (%remaining)" | ||
25 | format_down = "[no battery]" | ||
26 | } | ||
27 | |||
28 | cpu_usage { | ||
29 | format = "CPU %usage" | ||
30 | } | ||
31 | |||
32 | time { | ||
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] | ||
2 | BackupBeforeSave=true | ||
3 | ConfigVersion=2 | ||
4 | DropToBackgroundOnCopy=true | ||
5 | FaviconDownloadTimeout=1 | ||
6 | HideWindowOnCopy=true | ||
7 | MinimizeAfterUnlock=false | ||
8 | MinimizeOnCopy=false | ||
9 | MinimizeOnOpenUrl=true | ||
10 | UseAtomicSaves=false | ||
11 | |||
12 | [Browser] | ||
13 | AllowExpiredCredentials=true | ||
14 | CustomProxyLocation= | ||
15 | Enabled=true | ||
16 | MatchUrlScheme=false | ||
17 | |||
18 | [FdoSecrets] | ||
19 | Enabled=false | ||
20 | |||
21 | [GUI] | ||
22 | CompactMode=true | ||
23 | MinimizeOnClose=true | ||
24 | MinimizeOnStartup=true | ||
25 | MinimizeToTray=true | ||
26 | MonospaceNotes=true | ||
27 | ShowTrayIcon=true | ||
28 | TrayIconAppearance=colorful | ||
29 | |||
30 | [PasswordGenerator] | ||
31 | AdditionalChars= | ||
32 | ExcludedChars= | ||
33 | Length=32 | ||
34 | SpecialChars=false | ||
35 | |||
36 | [SSHAgent] | ||
37 | Enabled=true | ||
38 | |||
39 | [Security] | ||
40 | ClearSearch=true | ||
41 | EnableCopyOnDoubleClick=true | ||
42 | IconDownloadFallback=true | ||
43 | PasswordEmptyPlaceholder=true | ||
44 | Security_HideNotes=true | ||