i3wm + i3status + rofi [ubuntu,debian系]
i3wm + i3status + rofi
お仕事の方はご苦労様です。
あいもかわらずlinuxであそんでいます。
今日のわたしのパソコン環境は、 osは robolinux i3デスクトップ
CPU: Intel i7-4770K (8) @ 4.000GHz
GPU: NVIDIA GeForce GTS 250
robolinux64-lxde-v10.4.iso
robolinuxはあまり知られていないでしょう。ubuntu系のosです。アメリカ製。
ubuntu系なのでインストールは容易でしょう。省略。
Ubuntu + polybar + i3wm + rofi
ubuntuのi3の記事は書いたばかりなのですが、また同じような記事です。
今回はi3wm + i3status + rofi
antergosのi3wmが簡単に他のosに移植できてしまうということ。
1.awesomefontのインストール
注ubuntuにあるawesomefontではうまく表示できません。
なのであえて以下をインストールする。
awesome-terminal-fonts-master.zip
ダウンロードして解凍。install.shの実行。
$cd /home/satou/Downloads/awesome-terminal-fonts-master
$/home/satou/Downloads/awesome-terminal-fonts-master/install.sh
2./home/satou/.config/i3statusフォルダ新規作成
i3statusフォルダに以下を新規作成(antergosからの移植)
/home/satou/.config/i3status/config
丸写しーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
###############################################################################
# ceerious i3 status config
# see "man i3status" for documentation.
#
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
###############################################################################
general {
interval = 1
colors = true
color_good = '#88b090'
color_degraded = '#ccdc90'
color_bad = '#e89393'
}
order += "volume master"
order += "disk /"
#order += "disk /data"
#order += "disk /home"
#order += "run_watch DHCP"
#order += "ipv6"
#order += "run_watch VPN"
#order += "wireless wlp4s0"
#order += "ethernet enp5s0"
#order += "battery 0"
order += "cpu_temperature 0"
order += "cpu_usage 0"
order += "load"
order += "tztime local"
#wireless wlp4s0 {
# format_up = "%quality %essid %ip"
# format_down = ""
#}
#ethernet enp5s0 {
# # if you use %speed, i3status requires root privileges
# format_up = "%ip (%speed)"
# format_down = ""
#}
battery 0 {
format = "%status %percentage %remaining"
format_down = ""
last_full_capacity = true
integer_battery_capacity = true
low_threshold = 11
threshold_type = percentage
hide_seconds = true
status_chr = " "
status_bat = " "
status_unk = " "
status_full = " "
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
#%Y-%m-%d %H:%M:%S'
tztime local {
format = " %d/%m/%Y %H:%M"
}
load {
format = " %1min"
}
cpu_usage {
format = " %usage"
}
cpu_temperature 0 {
format = " %degrees°C"
}
disk "/" {
format = " %avail"
prefix_type = custom
low_threshold = 20
threshold_type = percentage_avail
}
#disk "/data" {
# format = " %avail"
# prefix_type = custom
# low_threshold = 20
# threshold_type = percentage_avail
#}
#disk "/data" {
# format = " %avail"
# prefix_type = custom
# low_threshold = 20
# threshold_type = percentage_avail
#}
volume master {
format = "%volume "
format_muted = " "
device = "default"
mixer = "Master"
mixer_idx = 0
}
ここまで丸写し分ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
以上で設定終了
/home/satou/.config/i3/configの設定でfontsを14サイズにしています。
このi3statusで十分でしょう。
cpuの温度が危険になると赤く変わって知らせてくれる親切設計です。
今回ubuntuに移植しましたが、
本物のantergosのi3wmを
見てみたいとおもわれた方もおられるのではないでしょうか。
antergos-minimal-19.4-x86_64.iso
あとはi3の設定は参考サイト様
などを参考にされたし。
私の記事も参考にされたし。
alpine linux on usb 2019
Arcolinux + i3wm
i3 wm タイル型ウィンドウマネージャ
Ubuntu + polybar + i3wm + rofi
以下参考画像
お仕事の方はご苦労様です。
あいもかわらずlinuxであそんでいます。
今日のわたしのパソコン環境は、 osは robolinux i3デスクトップ
CPU: Intel i7-4770K (8) @ 4.000GHz
GPU: NVIDIA GeForce GTS 250
robolinux64-lxde-v10.4.iso
robolinuxはあまり知られていないでしょう。ubuntu系のosです。アメリカ製。
ubuntu系なのでインストールは容易でしょう。省略。
Ubuntu + polybar + i3wm + rofi
ubuntuのi3の記事は書いたばかりなのですが、また同じような記事です。
今回はi3wm + i3status + rofi
antergosのi3wmが簡単に他のosに移植できてしまうということ。
1.awesomefontのインストール
注ubuntuにあるawesomefontではうまく表示できません。
なのであえて以下をインストールする。
awesome-terminal-fonts-master.zip
ダウンロードして解凍。install.shの実行。
$cd /home/satou/Downloads/awesome-terminal-fonts-master
$/home/satou/Downloads/awesome-terminal-fonts-master/install.sh
2./home/satou/.config/i3statusフォルダ新規作成
i3statusフォルダに以下を新規作成(antergosからの移植)
/home/satou/.config/i3status/config
丸写しーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
###############################################################################
# ceerious i3 status config
# see "man i3status" for documentation.
#
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
###############################################################################
general {
interval = 1
colors = true
color_good = '#88b090'
color_degraded = '#ccdc90'
color_bad = '#e89393'
}
order += "volume master"
order += "disk /"
#order += "disk /data"
#order += "disk /home"
#order += "run_watch DHCP"
#order += "ipv6"
#order += "run_watch VPN"
#order += "wireless wlp4s0"
#order += "ethernet enp5s0"
#order += "battery 0"
order += "cpu_temperature 0"
order += "cpu_usage 0"
order += "load"
order += "tztime local"
#wireless wlp4s0 {
# format_up = "%quality %essid %ip"
# format_down = ""
#}
#ethernet enp5s0 {
# # if you use %speed, i3status requires root privileges
# format_up = "%ip (%speed)"
# format_down = ""
#}
battery 0 {
format = "%status %percentage %remaining"
format_down = ""
last_full_capacity = true
integer_battery_capacity = true
low_threshold = 11
threshold_type = percentage
hide_seconds = true
status_chr = " "
status_bat = " "
status_unk = " "
status_full = " "
}
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
#%Y-%m-%d %H:%M:%S'
tztime local {
format = " %d/%m/%Y %H:%M"
}
load {
format = " %1min"
}
cpu_usage {
format = " %usage"
}
cpu_temperature 0 {
format = " %degrees°C"
}
disk "/" {
format = " %avail"
prefix_type = custom
low_threshold = 20
threshold_type = percentage_avail
}
#disk "/data" {
# format = " %avail"
# prefix_type = custom
# low_threshold = 20
# threshold_type = percentage_avail
#}
#disk "/data" {
# format = " %avail"
# prefix_type = custom
# low_threshold = 20
# threshold_type = percentage_avail
#}
volume master {
format = "%volume "
format_muted = " "
device = "default"
mixer = "Master"
mixer_idx = 0
}
ここまで丸写し分ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
以上で設定終了
/home/satou/.config/i3/configの設定でfontsを14サイズにしています。
このi3statusで十分でしょう。
cpuの温度が危険になると赤く変わって知らせてくれる親切設計です。
今回ubuntuに移植しましたが、
本物のantergosのi3wmを
見てみたいとおもわれた方もおられるのではないでしょうか。
antergos-minimal-19.4-x86_64.iso
あとはi3の設定は参考サイト様
などを参考にされたし。
私の記事も参考にされたし。
alpine linux on usb 2019
Arcolinux + i3wm
i3 wm タイル型ウィンドウマネージャ
Ubuntu + polybar + i3wm + rofi
以下参考画像
robolinux i3wmの画像
archlabsからの移植 rofiの画像
neofetchの画像
石原詢子さん
私の場合 以下のようになっている。
/home/satou/.config/i3/config
bindsym $mod+Shift+q kill
bindsym $mod+Shift+F12 exec pcmanfm
bindsym $mod+Shift+F11 exec firefox
bindsym mod1+F4 kill
bindsym Print exec scrot '%Y-%m-%d-%T_$wx$h_scrot.jpg' -e 'mv $f /home/satou/画像'
bindsym $mod+x exec /home/satou/.bin/rofi_run -l
bindsym $mod+d exec /home/satou/.bin/rofi_run -r
bindsym $mod+Shift+F12 exec pcmanfm
bindsym $mod+Shift+F11 exec firefox
bindsym mod1+F4 kill
bindsym Print exec scrot '%Y-%m-%d-%T_$wx$h_scrot.jpg' -e 'mv $f /home/satou/画像'
bindsym $mod+x exec /home/satou/.bin/rofi_run -l
bindsym $mod+d exec /home/satou/.bin/rofi_run -r
bindsym $mod+Prior workspace prev
bindsym $mod+Next workspace next
bindsym $mod+Next workspace next
bindsym $mod+Shift+e exec --no-startup-id \
"i3-nagbar -t warning -m 'Do you really want to exit i3?' -b \
'Shutdown' 'systemctl poweroff' -b 'Reboot' 'systemctl reboot' -b 'Logout' 'i3-msg exit'"
"i3-nagbar -t warning -m 'Do you really want to exit i3?' -b \
'Shutdown' 'systemctl poweroff' -b 'Reboot' 'systemctl reboot' -b 'Logout' 'i3-msg exit'"