diff options
author | 135e2 <[email protected]> | 2022-01-18 19:52:44 +0800 |
---|---|---|
committer | 135e2 <[email protected]> | 2022-01-18 19:52:44 +0800 |
commit | 6498d8c0cf0a3529e336b93b0d824ff931725a9a (patch) | |
tree | 19831e1f33f111f1e2b6c4281a62f884a7b841f8 /config/i3 | |
parent | ff478b00188e1b6ee1acfac78d8723d231777940 (diff) | |
download | dotfiles-6498d8c0cf0a3529e336b93b0d824ff931725a9a.tar.gz dotfiles-6498d8c0cf0a3529e336b93b0d824ff931725a9a.tar.bz2 dotfiles-6498d8c0cf0a3529e336b93b0d824ff931725a9a.zip |
config/i3: update to 20220118
Diffstat (limited to 'config/i3')
-rw-r--r-- | config/i3/config | 26 | ||||
-rw-r--r-- | config/i3/startfcitx5 | 4 |
2 files changed, 26 insertions, 4 deletions
diff --git a/config/i3/config b/config/i3/config index d1009b5..30fc332 100644 --- a/config/i3/config +++ b/config/i3/config @@ -36,12 +36,15 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. -exec --no-startup-id nm-applet +# exec --no-startup-id nm-applet # Extra startups exec --no-startup-id compton exec --no-startup-id sh ~/.fehbg exec --no-startup-id bash ~/.config/polybar/launch.sh --forest +exec --no-startup-id volumeicon +exec --no-startup-id xfce4-clipman +exec --no-startup-id bash ~/.config/i3/startfcitx5 # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status @@ -60,9 +63,9 @@ bindsym $mod+Return exec konsole bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +# bindsym $mod+d exec --no-startup-id dmenu_run # A more modern dmenu replacement is rofi: -# bindcode $mod+40 exec "rofi -modi drun,run -show drun" +bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a # .desktop file. It is a wrapper around dmenu, so you need that installed. # bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop @@ -190,6 +193,21 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) +#bar { +# status_command i3status +#} bar { - status_command i3status + font pango:DejaVu Sans Mono, FontAwesome 12 + position bottom + status_command i3status-rs ${HOME}/.config/i3status-rust/config.toml + colors { + separator #666666 + background #222222 + statusline #dddddd + focused_workspace #0088CC #0088CC #ffffff + active_workspace #333333 #333333 #ffffff + inactive_workspace #333333 #333333 #888888 + urgent_workspace #2f343a #900000 #ffffff + } } + diff --git a/config/i3/startfcitx5 b/config/i3/startfcitx5 new file mode 100644 index 0000000..33ae297 --- /dev/null +++ b/config/i3/startfcitx5 @@ -0,0 +1,4 @@ +#! /usr/bin/env bash +XDG_RUNTIME_DIR={$HOME}/.config +echo 'Starting fcitx5...' +fcitx5 -d -r -s 5 |