Compare commits

...

5 commits

Author SHA1 Message Date
af4761ccc2 Add ibus key bindings 2020-12-21 15:36:20 +01:00
2f06cec31b Merge branch 'master' into x200 2020-11-07 17:24:54 +01:00
9bc651f3c7 floating window size 2019-07-10 23:40:14 +02:00
e84ecbf410 implement screen lock 2018-11-08 15:25:46 +01:00
07837522ae adopt to x200 2018-06-03 02:16:26 +02:00
4 changed files with 18 additions and 143 deletions

View file

@ -11,7 +11,7 @@
set $mod Mod4 set $mod Mod4
font pango:monospace 8 # font pango:monospace 8
# poweroff stuff # poweroff stuff
set $mode_system System: (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown set $mode_system System: (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown
@ -35,14 +35,14 @@ floating_modifier $mod
bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Return exec i3-sensible-terminal
# start emacs # start emacs
bindsym $mod+Shift+Return exec i3-sensible-editor bindsym $mod+Shift+Return exec em
# lock screen
bindsym $mod+l exec fuzzy-i3lock
# kill focused window # kill focused window
bindsym $mod+Shift+q kill bindsym $mod+Shift+q kill
# lock screen
bindsym $mod+l exec fuzzy-i3lock
# start dmenu (a program launcher) # start dmenu (a program launcher)
bindsym $mod+d exec dmenu_run bindsym $mod+d exec dmenu_run
@ -140,12 +140,15 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# set input keyboard to us english
bindsym $mod+Control+e exec "ibus engine xkb:us::eng"
# set input keyboard to Chỡ Quố Ngữ (vietnamese)
bindsym $mod+Control+v exec "ibus engine Unikey"
# exit i3 (logs you out of your X session) # exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# open login screen on another vt (virtual terminal)
bindsym $mod+Shift+XF86HomePage exec "dm-tool switch-to-greeter"
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize" {
# These bindings trigger as soon as you enter the resize mode # These bindings trigger as soon as you enter the resize mode
@ -185,9 +188,8 @@ bar {
position top position top
tray_output primary tray_output primary
workspace_buttons yes workspace_buttons yes
mode dock mode hide
modifier $mod modifier $mod
output DP-1
colors { colors {
statusline #00ff00 statusline #00ff00
@ -196,32 +198,3 @@ bar {
#client.orientation #ff0000 #client.orientation #ff0000
} }
} }
bar {
status_command i3status-rs ~/.config/i3/status-rs_sec.toml
font pango:DejaVu Sans Mono, forkawesome 8
position top
tray_output primary
workspace_buttons yes
mode dock
modifier $mod
output HDMI-2
colors {
statusline #00ff00
focused_workspace #00cc00 #00ff00 #000000
inactive_workspace #00cc00 #008b00 #cccccc
#client.orientation #ff0000
}
}
workspace $ws1 output DP-1
workspace $ws2 output DP-1
workspace $ws3 output DP-1
workspace $ws4 output DP-1
workspace $ws5 output DP-1
workspace $ws10 output HDMI-2
workspace $ws6 output HDMI-2
workspace $ws7 output HDMI-2
workspace $ws8 output HDMI-2
workspace $ws9 output HDMI-2

View file

@ -11,48 +11,12 @@ separator_fg = "#00cc00"
separator_bg = "#222222" separator_bg = "#222222"
[[block]] [[block]]
block = "maildir" block = "sound"
interval = 15
inboxes = ["/home/finga/mail/onders.org/Inbox"]
display_type = "new"
[[block]]
block = "music"
max_width = 42
marquee_interval = 0
marquee_speed = 0.3
buttons = ["prev", "play", "next"]
[[block]] [[block]]
block = "net" block = "net"
device = "enp0s31f6" device = "enp0s25"
# format = "{ip} {graph_down} {speed_down} {graph_up} {speed_up}" format = "{ip} {speed_down} {speed_up}"
format = "{graph_down} {speed_down} {graph_up} {speed_up}"
# [[block]]
# block = "disk_space"
# path = "/"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/home"
# info_type = "used"
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/var"
# info_type = "used"
# warning = 20.0
# format = "{path} {percentage}"
# [[block]]
# block = "disk_space"
# path = "/tmp"
# info_type = "used"
# format = "{path} {percentage}"
[[block]] [[block]]
block = "memory" block = "memory"
@ -74,7 +38,7 @@ format = "{barchart} {utilization}% {frequency}GHz"
[[block]] [[block]]
block = "temperature" block = "temperature"
collapsed = false collapsed = false
format = "{min}° min, {max}° max, {average}° avg" format = "{min}° - {max}°: {average}°"
chip = "*-isa-*" chip = "*-isa-*"
[[block]] [[block]]
@ -82,9 +46,6 @@ block = "load"
interval = 1 interval = 1
format = "{1m} {5m} {15m}" format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
[[block]] [[block]]
block = "time" block = "time"
interval = 1 interval = 1

View file

@ -1,58 +0,0 @@
icons = "awesome"
[theme]
name = "solarized-dark"
[theme.overrides]
idle_fg = "#00cc00"
idle_bg = "#222222"
separator = "|"
separator_fg = "#00cc00"
separator_bg = "#222222"
[[block]]
block = "uptime"
[[block]]
block = "memory"
display_type = "memory"
format_mem = "{Mup}%"
clickable = false
[[block]]
block = "memory"
display_type = "swap"
format_swap = "{SUp}%"
clickable = false
[[block]]
block = "cpu"
frequency = true
interval = 1
[[block]]
block = "temperature"
collapsed = false
interval = 10
format = "{min}° min, {max}° max, {average}° avg"
chip = "*-isa-*"
[[block]]
block = "load"
interval = 1
format = "{1m} {5m} {15m}"
[[block]]
block = "sound"
[[block]]
block = "time"
interval = 1
format = "%Y-%m-%d %a (%Z) %H:%M:%S"
timezone = "Europe/Vienna"
[[block]]
block = "time"
interval = 1
format = "(%Z) %H:%M:%S"
timezone = "Etc/UTC"

View file

@ -1,9 +1,8 @@
* *
!/.config !/.config
!/.config/i3 !/.config/i3
!/.config/i3/* !/.config/i3/config
!/.config/i3status !/.config/i3/status-rs.toml
!/.config/i3status/*
!/.gitignore.d !/.gitignore.d
!/.gitignore.d/i3 !/.gitignore.d/i3
!/.local !/.local